When my index page loads, ajax requests are posted to the statusAjax page with a parameter of door.id equal to x for the doors.
That works fine, and is a POST. When I click on an icon, it posts to the identical action, to either lock or unlock. When the action is done, I redirect to the status action (just like when the index loads, except with a GET this time). I get an exception setting the door.id, but the url shows that the get value and property name are right for the redirect action. Can someone explain what I am doing wrong? The action works on the index ajax calls, but future clicks give me: Caused by: ognl.NoSuchPropertyException: org.apache.struts2.dispatcher.ServletActionRedirectResult.door Here is the struts.xml <action name="index" class="com.secmgmt.struts2.actions.door_control.DoorControlIndexAction"> <result name="success">/pages/door-control/jsps/index-ajax.jsp</result> </action> <action name="lock" class="com.secmgmt.struts2.actions.door_control.DoorControlLockDoor"> <result name="success" type="redirectAction"> <param name="actionName">statusAjax</param> <param name="door.id">${door.id}</param> </result> </action> <action name="unlock" class="com.secmgmt.struts2.actions.door_control.DoorControlUnlockDoor"> <result name="success" type="redirectAction"> <param name="actionName">statusAjax</param> <param name="door.id">${door.id}</param> </result> </action> <action name="statusAjax" class="com.secmgmt.struts2.actions.door_control.AjaxDoorStatus"> <result name="success">/pages/door-control/jsps/single-door-ajax.jsp</result> </action> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org