I think the problem is mainly that I don't fully understand where I should put my class files in respect to my jsp pages.
Caused by: java.io.IOException: open HTTP connection failed:http://localhost:8080/EPStestWeb/test.class
Another thing that I find strange is that when I change the jsp tag to
<jsp:plugin type="applet" code="test.class" codebase="/EPStestWeb" jreversion="1.6" width="400" height="300" >
It returns this:
Caused by: java.io.IOException: open HTTP connection failed:http://localhost:8080/EPStestWeb/web/test/class.class
That's actually not strange at all. The "code" attribute takes a fully-qualified class name, not a file name. So if the JVM sees a dot, it assumes that the part before it ("test") must a package name, which is therefore translated to a directory when trying to load the class file.
OK, so where IS the applet class? Under which URL can you download it manually in the browser?
I still have no way of accessing it via the server.