Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Problem running servlets on tomcat

Caldarale, Charles R

2007-02-13

Replies:

> From: Rahul Choubey [mailto:c_rahulhyd@(protected)]
> Subject: Problem running servlets on tomcat
>
>  E:\Program Files\apache-tomcat-4.1.34\webapps\rahul\Web-Inf\classes

Even on Windows, directory and file names defined in the servlet spec
are case sensitive. The directory name should be WEB-INF, not Web-Inf.

>  I have also copied the web.xml to:
>  E:\Program Files\apache-tomcat-4.1.34\webapps\rahul

Read the servlet spec and look at the examples that come with Tomcat:
the web.xml file must be in the WEB-INF directory, not the app's main
directory.

Try those changes and see what happens.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.