tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paridhi Bansal" <paridhiban...@mail.com>
Subject placing jar file
Date Mon, 16 Jun 2003 10:03:45 GMT
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("&nbsp;&nbsp;<H1>Test Applet &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message