The servlet spec requires that your app must look like:
contextName/ (put static content here)
WEB-INF/ (put web.xml here)
lib/ (put your .jar libraries here)
classes/ (put your standalone classes here)
Also, you will need to put your "contextName" directory under tomcat's
"webapps" directory, or create a <Context> entry in server.xml which points
to the absolute path of the "contextName" directory and specifies what the
context is called when running.
For instance...
<Context path="/myapp" docBase="c:\root\servlets\contextName" >
Jake
At 11:39 AM 7/11/2002 +0300, you wrote:
>Hi,
>I am currently working on a project. I want to install this project under
>c:\root in my computer. in c:\root\servlet\servlet.jar there are my
>servlets. and I want to call these servlets like the following url:
>
>http://localhost/servlet/hello (there is hello.class in
>c:\root\servlet\servlet.jar)
>When I put them webapps\root\web-inf\lib it works, but now it does not.
>
>What configuration changes do I need to make?
>
>Thanks in advance
>
>Serdar BOZDA�
>Computer Engineer
>
>MobiPath Information Technologies
>Istanbul/TURKEY
>Tel : +90 212 213 4975
>Fax: +90 212 213 7361