Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes What is the term?  A redirect at the server level... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "What is the term?  A redirect at the server level..." Watch "What is the term?  A redirect at the server level..." New topic
Author

What is the term? A redirect at the server level...

Lisa Modglin
Ranch Hand

Joined: Oct 28, 2003
Posts: 46
What is it called when I want to change where a page request goes, but it's within the same host? I want to do it at the server level and I don't know what to search on. I don't want my users to have to use tiny url.

Example:
I want this request: http://mydomain.com/page.jsp to resolve to: http://mydomain.com/onedir/twodir/page.jsp?param=1¶m=2¶rm=3

Thanks!
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

rewrite, as in mod_rewrite
Lisa Modglin
Ranch Hand

Joined: Oct 28, 2003
Posts: 46
Thanks. I have looked around and am I understanding it right that Apache can rewrite URLs, but Tomcat alone cannot? We are not using Apache.
 
Consider Paul's rocket mass heater.
 
subject: What is the term? A redirect at the server level...
 
Similar Threads
cookies and domains problem ?
Question about portforwarding and tomcat
AJAX
File root config problem
tomcat-apache context problem?