Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to deploy a web application on root of tomcat ?

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for reading my post
How i can deploy a web applicaton on tomcat
in way that it runs on root of the server
for example if my war file name is testapp then i could reach it with the following url:

http://127.0.0.1/

not with : http://127.0.0.1/testapp
 
Srinivasan Jayabalan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simplest solution would be to extract the contents of WAR file under Tomcat's webapps/ROOT directory.

OR

You can put the WAR file under webapps & create a new 'index.html' under ROOT dir which will redirect users to your webapp (htp://ip-address/some_webb_app).
[ September 20, 2005: Message edited by: Srinivasan Jayabalan ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic