struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ts.resustu...@x76.eu
Subject Parameters disappearing on redirectAction with namespaces.
Date Tue, 22 Nov 2016 15:03:45 GMT
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.


|<action name="listusers" class="..." method="listUsers"> <result
name="success" type="redirectAction"> <param
name="actionName">groupusers</param> <param
name="group.id">${group.id}</param> </result> </action>|


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.



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message