I do not use any configuration.
There is an index.jsp:
<% response.sendRedirect("index.action"); %>
and the index.action is has a execute and simple return SUCCESS and redirects
to a jsp. As I said it is the struts 2 jquery showcase sample!
I am new, please let me know if I should describe any thing else !!
~Regards,
~~Alireza Fattahi
________________________________
From: Lukasz Lenart <[email protected]>
To: Struts Users Mailing List <[email protected]>; Alireza Fattahi
<[email protected]>
Sent: Tuesday, 9 July 2013, 17:40
Subject: Re: convention redirect to slash
Ok, but could you share configuration of results? How do you perform redirect?
2013/7/9 Alireza Fattahi <[email protected]>:
> Here it is:
>
> I acutally downloaded the struts 2 jquery plug in and add
> <constant name="struts.convention.redirect.to.slash" value="false" />
> to it!
>
>
> <struts>
> <constant name="struts.enable.DynamicMethodInvocation" value="false" />
> <constant name="struts.devMode" value="true" />
> <constant name="struts.convention.action.packages"
>value="com.jgeppert.struts2.jquery.showcase" />
> <constant name="struts.convention.default.parent.package"
>value="json-default" />
> <constant name="struts.convention.redirect.to.slash" value="false" />
> <constant name="struts.custom.i18n.resources" value="messages" />
> </struts>
>
>
>
>
> ~Regards,
> ~~Alireza Fattahi
>
>
> ________________________________
> From: Lukasz Lenart <[email protected]>
> To: Struts Users Mailing List <[email protected]>; Alireza Fattahi
> <[email protected]>
> Sent: Tuesday, 9 July 2013, 17:22
> Subject: Re: convention redirect to slash
>
>
> 2013/7/9 Alireza Fattahi <[email protected]>:
>> The
>> <constant name="struts.convention.redirect.to.slash " value="false" />
>> is not working !
>> It keeps redirecting to slash
>>
>> any comments ?!
>
> Could you share your struts.xml? Os some snippets with results?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]