There is a handy URL rewrite filter already built.
http://www.tuckey.org/urlrewrite/

You can hide the ID if you post the form  but you need to be a bit more 
specific with what you want to do

Oz

On 13/06/2012, at 1:21 PM, Kiran Badi wrote:

> Hi All,
> 
> For some of the functionality, I have url in the below format
> 
> http://localhost:8080/mysite/getmyservice.do?id=17
> 
> What I was looking for is to hide the id part of the url and just show 
> something like
> 
> http://localhost:8080/mysite/getmyservice.do#
> 
> Is this hack possible with tomcat 7.011 or 7.027 or I need to write some 
> filter to do this?
> 
> I have Tomcat 7.027 on win 7 home premium and url is generated via 
> servlet/jsp.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 

Reply via email to