struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy <>
Subject How to fix redirect OGNL error, Unable to set param?
Date Mon, 11 May 2009 17:26:08 GMT

I am not sure if this is me or if this is a bug.

I got the following error

11:52:01,623 ERROR ObjectFactory:27 - Unable to set parameter [dest] in result
of type [org.apache.struts2.dispatcher.ServletRedirectResult]
Caught OgnlException while setting property 'dest' on type
'org.apache.struts2.dispatcher.ServletRedirectResult'. - Class:
Method: setProperty
Line: 132 - ognl/

And my config is pretty minimal

<package name="esupport" namespace="/esupport" extends="struts-default">
        <action name="old-esupport" class="">
            <result type="redirect">
            <param name="location"></param>
            <param name="dest">${dest}</param>

And my class has a pair of get/set method. And that's it. Nothing Fancy

I have found this thread in the forum. But it doesn't solve my problem

I am using

Struts 2.1.16 
Spring 2 
Spring Security + CAS

(The funny behavior is it sends me to the CAS server after the error, but I
guess it will be corrected after the redirect issue got fixed)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message