I got my Tomcat install to work and now I can receive JSP generated HTML web pages. However, my applet, that works in 'appletViewer' is throwing exceptions. I suspect one of two area for problems in my setup / configuration:
- path I am storing my applet files (.java, .class and .jar)
- proper reference to the java libraries for the browser (renderImage, event-pump, etc.)
- permissions
I reviewed the catalina.policy file and restarted tomcat with the -security (on windows using the service manager). I am getting 404 stating that it cannot find the files -- but they are in the path shown in the log, therefore, it leads me to think it is not permissible.
JSP snippet:
// Form for submitting email to support.
<applet name="mymail" code="MyMail" codebase="/" archive="mystuff.jar" width=280 height=140>
</applet>
Logging error (removed timestamp and IP):
"GET /myapp/MyMail.class HTTP/1.1" 404 221
All the other resources are getting 200 (OK) and 304 (not modified).
codebase
parameter?