Hi!!
Mine is a normal servlet applet based web-based application where servlet is ionvoked
from an html page link.The servlet throws a jar file containing the main applet class
and the other files. As per the tomcat docs, i hve kept the servlet in WEB-INF/classes
directory and the jar file inWEB-INF/lib directory. On accessing the servlet, this
applet never opens up saying AppletNot Found..
Butr when i keep the applet main class file and the jar file directly in the webapps
folder, the applet opens at the client side.
Below is the html page code that servlet sends to the client dynamically:
out.println("<html><head><title> Test Applet </title></head>");
out.println(" <H1>Test Applet
</H1>");
out.println("<APPLET CODE=mainapplet.class ARCHIVE = test1.jar
CODEBASE=/test" + " WIDTH=760 HEIGHT=350>");
The server.xml file has following context defined:
<Context path="" docBase="" debug="0" privileged="true"/>
<!-- Tomcat Context -->
<Context path="/test" docBase="test"
debug="0" privileged="true"/>
What can be the problem??
Paridhi
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]