> From: Tom Blank [mailto:blank-...@gmx.net]
> Subject: Setting /WebContent as ROOT for an application
>
> For Example:
> http://localhost:8080/myApp/
>
> should point to this directory:
> C:/Server/Tomcat/webapps/myApp/WebContent/
>
> where my index.jsp is located.

This is not a "property" setting - it's the way it's supposed to work.  The 
directory structure *you* choose for your webapp is reflected in the URLs that 
must be used to access that webapp.

1) Why do you have a hierarchy here?  Is there something in the myApp directory 
other than WebContent?  Does this directory structure serve any purpose?

2) If you must maintain this hierarchy, move your index.jsp file to myApp from 
myApp/WebContent.

3) If you can't collapse the directory structure or move the index.jsp file, 
then put a dummy index.html file in myApp that redirects to the proper one (or 
use a filter to do the same thing).

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to