You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sahar Madani <sa...@excitehome.net> on 2001/08/24 22:25:49 UTC

Changing Tomcat webapps/ROOT

Hi
Could someone tell me how can I change the webapps root ?
I would like to get to my servlets app like this
http://my.url.com/myapp/Hello
instead of http://my.url.com/myapp/servlet/Hello
Thanks
Sahar Madani
*****************************************************





Re: Changing Tomcat webapps/ROOT

Posted by John Baker <jb...@teamenergy.com>.
On Friday 24 August 2001 21:25 pm, you wrote:
> Hi
> Could someone tell me how can I change the webapps root ?
> I would like to get to my servlets app like this
> http://my.url.com/myapp/Hello
> instead of http://my.url.com/myapp/servlet/Hello

That's totally different to what you are asking to do. The root is staying 
the same (myapp) but you want to fiddle with mappings in your web.xml file.


-- 
John Baker, BSc CS.
Java Developer, TEAM Slb. (http://www.teamenergy.com/)
The views expressed in this mail are my own.