Avinash Kumar wrote:
> Dear All,
> I m trying now with tomcat 5.5,i want to set a web application as default
> application ,suppose like if a user after starting tomcat ,if i will enter
> http://localhost:8080 then it will just forward to http://localhost:8080/<*
> MyApplication <http://localhost:8080/<MyApplication>*>...
> 
> Actually i hv to run an existing web application which is running well in
> tomcat 4.1 ..means in tomcat 4.1 i found this settings in Tomcat
> 4.1\conf\server.xml's <host> element <Host name="localhost" debug="0"
> appBase="webapps/MyApp" unpackWARs="true" autoDeploy="true"> nd when the
> users enters http://localhost:8080 it goes to
> http://localhost:8080/MyAppdirectly

This configuration is wrong and unsupported. It was luck that it ever
worked.

All you need to do is rename your MyApp directory to ROOT or MyApp.war
to ROOT.war


If a ROOT directory or ROOT.war already exist just rename them or
delete them as appropriate.

Mark

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

Reply via email to