You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Anjib Mulepati <an...@hotmail.com> on 2012/02/10 16:56:27 UTC

Hide .do [S 1.3.8]

Hi All,

I am getting odd situation in Struts 1.3.8 application.
I have different actions and for each action user can see link as 
http://localhost/MyApp/MyAction.do
How can I hide *.do from address bar?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Hide .do [S 1.3.8]

Posted by Mohamed SIDI <mh...@gmail.com>.
I think by using mapping mecanism in your web.xml

2012/2/10 Anjib Mulepati <an...@hotmail.com>

> Hi All,
>
> I am getting odd situation in Struts 1.3.8 application.
> I have different actions and for each action user can see link as
> http://localhost/MyApp/**MyAction.do <http://localhost/MyApp/MyAction.do>
> How can I hide *.do from address bar?
>
> Thanks
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: user-unsubscribe@struts.**apache.org<us...@struts.apache.org>
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 


Cordialement

Mohamed

Re: Hide .do [S 1.3.8]

Posted by Josep GarcĂ­a <jg...@isigma.es>.
The urlrewrite filter can help you with that. Take a look at AppFuse 2.0:
appfuse.org
This appfuse version shows .html extensions in the url, instead of .do or
.action.
Cheers,
Josep


2012/2/10 Anjib Mulepati <an...@hotmail.com>

> Hi All,
>
> I am getting odd situation in Struts 1.3.8 application.
> I have different actions and for each action user can see link as
> http://localhost/MyApp/**MyAction.do <http://localhost/MyApp/MyAction.do>
> How can I hide *.do from address bar?
>
> Thanks
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: user-unsubscribe@struts.**apache.org<us...@struts.apache.org>
> For additional commands, e-mail: user-help@struts.apache.org
>
>