Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

URL Rewrite in Tomcat

843836Oct 22 2003 — edited Oct 22 2003
I want to (or I need to) rewrite URL like the following

www.mydomain.com/myJSP.jsp?param=123&offset=2

to something like

www.mydomain.com/Somestring/2

in Tomcat. I think it can be done using Apache mod_rewrite, but it's just not a solution that I want to apply. I want to do this inside Tomcat and/or Struts(I use Struts). I searched for "url rewrite tomcat", but I just could not find what I was looking for. I found a couple of threads discussing displaying and passing session id in URL in case cookie is disabled, but that's not what I'm trying to do. I want to have a human readable URL, not some cryptic code alike URL.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2003
Added on Oct 22 2003
2 comments
180 views