Hi,
How can I mislead user from seeing actual .do extension in the url?
I know we could do this by servlet mapping but is there another approach of doing this?
Thanks,
Ash
-
Struts .do extension (2 messages)
- Posted by: Ash H
- Posted on: February 18 2005 10:11 EST
Threaded Messages (2)
- Change the web.xml by Rich Hill on February 19 2005 10:06 EST
- Use rewriting? by Robin Ericsson on March 25 2005 06:50 EST
-
Change the web.xml[ Go to top ]
- Posted by: Rich Hill
- Posted on: February 19 2005 10:06 EST
- in response to Ash H
In your web.xml file change the url pattern for Action from *.d0 to whatever extension you want them to see. You could make it *.ash or *.html. -
Use rewriting?[ Go to top ]
- Posted by: Robin Ericsson
- Posted on: March 25 2005 06:50 EST
- in response to Ash H
Hi,How can I mislead user from seeing actual .do extension in the url?I know we could do this by servlet mapping but is there another approach of doing this?Thanks,Ash
I found a nice package todo url-rewrites inside the webapp. Might be what you are looking for.
http://tuckey.org/urlrewrite/
regards,
Robin