tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paridhi Bansal" <>
Subject placing jar file
Date Mon, 16 Jun 2003 10:03:45 GMT

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;
		out.println("<APPLET CODE=mainapplet.class ARCHIVE = test1.jar  CODEBASE=/test" + " WIDTH=760

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??

Sign-up for your own FREE Personalized E-mail at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message