struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alireza Fattahi <afatt...@yahoo.com>
Subject Re: convention redirect to slash
Date Tue, 09 Jul 2013 13:20:48 GMT
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 <lukaszlenart@apache.org>
To: Struts Users Mailing List <user@struts.apache.org>; Alireza Fattahi <afattahi@yahoo.com>

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 <afattahi@yahoo.com>:
> 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 <lukaszlenart@apache.org>
> To: Struts Users Mailing List <user@struts.apache.org>; Alireza Fattahi <afattahi@yahoo.com>
> Sent: Tuesday, 9 July 2013, 17:22
> Subject: Re: convention redirect to slash
>
>
> 2013/7/9 Alireza Fattahi <afattahi@yahoo.com>:
>> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message