You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Parsons Technical Services <pa...@earthlink.net> on 2005/10/03 03:54:44 UTC

Re: MyServlet as default servlet in tomcat 5.0.27

Rename your war to ROOT.war and deploy it.

Or you can manually deploy the app and point the default Host element to the 
new appBase location.

Doug

----- Original Message ----- 
From: "Partheeban Boopathy" <bm...@gmail.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Friday, September 30, 2005 5:06 PM
Subject: MyServlet as default servlet in tomcat 5.0.27


Hi
How to set my servlet as a default for my Tomcat5.0.27 instance which runs
in a machine name testmachine.
I want my servlet to make it as default one,i changed web.xml under
tomcatinstalldir/conf folder.
It works,but i dont want to change that web.xml under conf folder.Is there
any way on that.

My main requirnment is
How to make my servlet available for the url below
http://testmachine:8050
I dont want to give any application name after the port number
whereas tomcat5.0.27 is running in testmachine.

Note : I packed my servlet inside a war file and deployed under
tomcatinstalldir/webapps as test.war

Thanks
Parthi



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org