WEB-INF has a special meaning to a servlet container (e.g., Tomcat) and must be a top-level directory in your web application directory (in this case, it must be located at .../ROOT/WEB-INF).

Download the servlet specification and take a look at section 9.5: http://java.sun.com/products/servlet/download.html

Raicea Lavinia wrote:

Hi,
  My name is Lavinia Raicea and I am a student. I am trying to learn
about JSP2.0 and Servlets so I have installed Apache Tomcat 5.0 (Windows
XP) and I took some documentation to run some servlet examples.
  I don't know what I am doing wrong but when I put the source code in
the folder $installdir/webapps/ROOT/WEB-INF/classes it works. But when I
do the same thing but in a subfolder of ROOT
(.../ROOT/deploy/WEB-INF/classes) it doesn't work anymore.I think is
something with my configuration of tomcat but I dont't seem to get it
right.
 If you would be so kind and tell me where I am wrong I would be very
grateful.
               Thank you very much,
                            Lavinia



---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to