Kiren

You'll need to pass in the id somehow.

Maybe something like:

/mysite/service/17

and use the URL rewrite filter to map it to

> /mysite/getmyservice.do?id=17

Have a look at the doco for more info

Should not cause any other issues.

Oz


On 13/06/2012, at 2:16 PM, Kiran Badi wrote:

> 
> On 6/13/2012 9:18 AM, Oguz Kologlu wrote:
>> 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
> Thanks Oguz,
> 
> I have bunch of functionalities which are showing up with urls  as
> 
> http://localhost:8080/mysite/getmyservice.do?id=17 and I just need to hide 
> them and show some neat url something like mysite/getmyservice.do without 
> displaying parameters.
> 
> Will hiding the url's cause any other issues ?
> 
> - Kiran
>> 
>> 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
>>> 
>>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to