You have to specify the servlet classname in the WEB-INF/web.xml file. The jar
or class file containing the servlet must be on your classpath. The classpath
in Tomcat is the following to the best of my knowledge, though I don't know the
order
- the system classpath
- the ${catalina.home}/lib
- application/WEB-INF/classes
- application/WEB-INF/lib
There is also a common lib folder that I heard about, and there might be others.
--- On Fri, 11/21/08, kcg_ <[EMAIL PROTECTED]> wrote:
> From: kcg_ <[EMAIL PROTECTED]>
> Subject: Default location
> To: [email protected]
> Date: Friday, November 21, 2008, 10:27 AM
> Hello,
>
>
> Can anyone tel me what is the default location where tomcat
> looks for
> servlets?
>
>
> Thanks!
>
>
> kcg_
> --
> View this message in context:
> http://www.nabble.com/Default-location-tp20627077p20627077.html
> Sent from the Tomcat - User mailing list archive at
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: [email protected]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]