This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Tomcat and the fly likes how to deploy a web application on root of tomcat ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to deploy a web application on root of tomcat ?" Watch "how to deploy a web application on root of tomcat ?" New topic
Author

how to deploy a web application on root of tomcat ?

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
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

Joined: Jun 21, 2004
Posts: 4
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 ]
 
GeeCON Prague 2014
 
subject: how to deploy a web application on root of tomcat ?