URL Rewrite in Tomcat
843836Oct 22 2003 — edited Oct 22 2003I 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.