Kurt,

Try the following:

1) Define the context for your application in conf/server.xml  (eg. copy 
one of the <contexts>..</context> blocks and change the names to fit 
your app).
2) Set up the web.xml in webapps/yourapp/WEB-INF (define a servlet and 
servlet-mapping for every servlet class in WEB-INF/classes).
*3) If you're running on Linux, make sure that /WEB-INF is all caps! 
 (Tomcat won't find the web.xml otherwise).

I believe this is all you need to have your servlets run successfully 
out of webapps/yourapp/       :-)

Dmitry

Kurt Kurniawan wrote:

>the same thing happened to me. I found out that you have to placed all your web 
>applications in Root directory. And have to put the servlets in Root/web-inf/classes 
>somehow. I can't just put my apps in webapps directory, even if i set the web.xml 
>files. Can not find a way to get around this yet. Anybody with clue plz post!
>
>Kurt
>
>*********************************************************************************
>- NOTICE -
>The information transmitted is intended only for the person or entity 
>to which it is addressed and may contain confidential and/or privileged
>material.  Any review, retransmission, dissemination or other use of, 
>or taking of any action in reliance upon, this information by persons
>or entities other than the intended recipient is prohibited.  If you 
>have received this email in error, please notify the sender and delete
>the material from your computer.
>
>Internet communications are not secure.  You should scan this message 
>and any attachments for viruses.  Under no circumstances do we accept 
>liability for any loss or damage which may result from your receipt of 
>this message or any attachments.
>*********************************************************************************
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to