Then you'll need to setup a very small ROOT webapp with a servlet that just forwards requests using a 300 series redirect.
Simple and the web browser shows your webapp name as expected. --David Avinash Kumar wrote: > Thanks , > But the application must run with its name in the url bar of the browser > ,so if it is renamed as Root then how can i access it nd it was runnig > very > well in tomcat 4.1 ,i can also send u the server.xml of tomcat 4.1 which > allowed it to run directly... > > > On 4/18/07, Mark Thomas <[EMAIL PROTECTED]> wrote: >> >> 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] >> >> > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]