> From: mitalub [mailto:[email protected]]
> Subject: Default Tomcat Page w/o Redirect
>
> Currently, my home page is at
> http://www.mydomain.com/myappname/app/home.
>
> I want to be able to access this page by going to just
> http://www.mydomain.com, but without a redirect.
You didn't bother to tell us the version of Tomcat you're using, but if it's a
reasonably recent one, you need to name your webapp ROOT (case sensitive), not
myappname, for it to be the default webapp.
Home pages are normally in the base directory of the webapp, but if you insist
on keeping your home page in an unusual location, set it in the <welcome-file>
list in your webapp's WEB-INF/web.xml file; e.g.:
<welcome-file-list>
<welcome-file>app/home/index.html</welcome-file>
</welcome-file-list>
using whatever the actual name of your home page is.
- 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: [email protected]
For additional commands, e-mail: [email protected]