Posted By:
Anonymous
Posted On:
Friday, December 17, 2004 02:09 AM
Servlet and applets run in totally different contexts, so you will - and should - separate those two:
- For the servlet, put the class in a JAR deployed into tomcat, i.e. it must be "in the internal classpath" of tomcat.
- For the applet, you must tell the applet that that class is in the codebase. Usually, you will put the JAR as a ressource on your webserver [like any gif etc.] and tell the applet in the calling HTML about the codebase.
Regards
Harald M.