File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Redirect a URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Redirect a URL" Watch "Redirect a URL" New topic

Redirect a URL

Felix Mathew

Joined: Nov 04, 2011
Posts: 1
Hi all, I am using tomcat just as a simple webserver. I have my application under webapps/ROOT.
My question:-
What config changes do I have to make in tomcat so that I can redirect a http request such as http://xxxx:8080/abc/def/xyz.htm to point to the xyz.htm file residing under webapps/ROOT/def directory on my tomcat server without having the used chnage their request URL?

gyan kumar
Ranch Hand

Joined: Sep 28, 2011
Posts: 61
Check this
I agree. Here's the link:
subject: Redirect a URL
It's not a secret anymore!