tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: Setting default webapp
Date Mon, 01 Oct 2007 13:15:42 GMT
David kerber wrote:
> I want my webapp to be the default application on my Tomcat 5.5 server,
> so that it will go to the app's login page even if they don't enter the
> app name as part of the url. For example, normally my app is accessed at:
> 
> http://myserver:8081/SiteData/Login.jsp
> 
> I want them to get Login.jsp even if all they enter is:
> 
> http://myserver:8081
> 
> Do I need to install the SiteData app as root to accomplish this, or can
> it be done without this second installation?

Installing it as ROOT will do the trick, if you have no other default app.

Alternatively, put a single redirecting servlet/jsp/filter as the index
in the ROOT webapp and have it execute a normal redirectURL() to your
webapp.

p



> D
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


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


Mime
View raw message