Re: Parameters disappearing on redirectAction with namespaces.

2016-11-22 Thread Lukasz Lenart
2016-11-22 16:03 GMT+01:00  :
> Hi!
>
> Is there a way to log in detail what happens with parameters for
> redirectAction?
>
> I have an action method (listUsers) which is called through POST with
> the parameter "group.id".
>
> This works just fine, the redirect GET have the parameter appended to
> the URL.
>
>
> |  name="success" type="redirectAction">  name="actionName">groupusers  name="group.id">${group.id}  |
>
>
> But the moment I add a namespace to the package (e.g. "/strutsweb"), the
> parameter "group.id" disappears from the redirect.
>
> And I am completely lost on what could be the cause of this, so detailed
> logging on redirectAction is the hopefully a way to find the cause.

Struts version? Do you use `struts.url.includeParams`?
https://struts.apache.org/docs/url.html


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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



Parameters disappearing on redirectAction with namespaces.

2016-11-22 Thread ts . resusturts
Hi!

Is there a way to log in detail what happens with parameters for
redirectAction?

I have an action method (listUsers) which is called through POST with
the parameter "group.id".

This works just fine, the redirect GET have the parameter appended to
the URL.


|  groupusers ${group.id}  |


But the moment I add a namespace to the package (e.g. "/strutsweb"), the
parameter "group.id" disappears from the redirect.

And I am completely lost on what could be the cause of this, so detailed
logging on redirectAction is the hopefully a way to find the cause.

Thanks.