tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kwok Peng Tuck <>
Subject Re: Help Needed to configure servlets
Date Fri, 25 Oct 2002 06:48:35 GMT
The classes go under WEB-INF , either under classes (if they are .class 
& don't forget their package if they have any), or the directory lib if 
they are jars.
Define your servlet in the web.xml of your web application. How? It's in 
the tomcat documentation as well as the examples that came with tomcat.

Anitha K Rao wrote:

>  I'm Anitha, working on JSP/Servlet.
>In simple sentence...
>I want to create a Directory called "AppDir" under webapps.
>Then i need to configure my servlets.
>The Directory Structure looks like this..
>   --- AppDir                     -----  JSP file
>        --- Web-inf               ----- web.xml file
>              -- classes         ----- My Servlet Class files
>does not display the servlet.
>Kindly help me out as to where I need to configure the servlet, Application
>with example code or a web site to help me run the servlets.
>Thank you
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

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

View raw message