2009/4/7 Security Management <[email protected]>:
> Struts 2.1.6, here's my action.
>
> <action name="saveRuleName" class="com.secmgmt.actions.SaveRule">
> <result name="success" type="redirectAction">
> <param name="actionName">addExceptionForm</param>
> <param name="rule">${rule}</param>
> </result>
> </action>
You shouldn't use custom objects as a params, Ognl will change them to
Object.toString()
> public class AddExceptionForm extends SMCBaseAction
> {
>
> private IRule rule;
I suppose IRule is interface, which means Ognl doesn't know how to
create it, you have to use real object with default constructor
Regards
--
Lukasz
http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]