File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 550
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
Replacing the root context
problem in accessing a servlet using iPlanet web server
How to change to secure ?
UrlRewrite Rule works on tomcat 4.1.34 but fails on tomcat 5.0.28
Web Application Root