tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anitha K Rao" <ani...@cdacb.ernet.in>
Subject Re: Help Needed to configure servlets
Date Fri, 25 Oct 2002 06:53:16 GMT
Yes, but i want it under a directory called AppDir,
which i need not under examples directory.
Where do i configure this??




----- Original Message -----
From: "Kwok Peng Tuck" <pengtuck@makmal.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, October 25, 2002 12:18 PM
Subject: Re: Help Needed to configure servlets


> 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:
>
> >Hello,
> >
> >  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..
> >
> >webapps
> >   --- AppDir                     -----  JSP file
> >        --- Web-inf               ----- web.xml file
> >              -- classes         ----- My Servlet Class files
> >
> >http://localhost:port/AppDir/<Servletclass>
> >
> >does not display the servlet.
> >
> >Kindly help me out as to where I need to configure the servlet,
Application
> >Directory
> >with example code or a web site to help me run the servlets.
> >
> >Thank you
> >Regards
> >Anitha
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> >For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
> >
> >
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message