I have run into an issue with the way HttpUnit handles an APPLET tag without an explicit codebase attribute.
According to Sun, "by default, a browser looks for an applet's class and archive files in the same directory as the HTML file that has the <APPLET> tag."
It seems HttpUnit does not comply with this specification. It looks for the class in the root directory of the web server, regardless of the path of the HTML page containing the APPLET tag.
I have written a TestCase to show this behavior, and a simple fix that makes this test pass.
Log in to post a comment.