> From: Rizwan Ahmad [mailto:[EMAIL PROTECTED] 
> Subject: Context problem in tomcat 5.5
> 
> When I startup tomcat it automatically unpacks war
> file but when I try to access my website using
> http://localhost:8080/samena/ it says "The requested
> resource (/samena/) is not available."

Your web.xml file is missing <servlet-mapping> entries.  Look at the
servlet spec for definition and the various Tomcat web.xml files for
examples.

> I also don't find any context name specified anywhere for 
> http://localhost:8080/servlets-examples/ provided with the
> tomcat.

The context name is determined by the name of the directory or .war file
the application is in.  In the above case, webapps/servlets-examples
automatically results in the above context.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to