SpY0o2 wrote:
> 
> hello, I've been trying to deploy an application to Tomcat 6.0.18. I would
> like to make it my default ROOT app (without renaming the app to ROOT), so
> that I can access my app by entering 
> 
> http://localhost:8080/ instead of http://localhost:8080/myApps 
> 
> Thanks.
> 
> 



The easiest possible thing is to put an element in server.xml file in /conf
directory.
So, put your application inside <Host> element in server.xml file by using a
<Context> element. this will be as follows...

.
.
.
<Host ......>
 <Context path="" docBase="/testApp">  </Context>

</Host>

this will make your testApp as ROOT application and you can access by
http://localhost:8080.

hope this help...

--pulak



-- 
View this message in context: 
http://www.nabble.com/changing-default-ROOT-webapp-in-Tomcat-6.0.18-tp22133382p25889772.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to