This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to deploy a web application on root of tomcat ?
 
Similar Threads
How to change to secure ?
problem in accessing a servlet using iPlanet web server
Web Application Root
UrlRewrite Rule works on tomcat 4.1.34 but fails on tomcat 5.0.28
Replacing the root context