Tried that and it did not work at all. I got it working in a way but not the way I want. Basically what I did was set the values in the session and then on page refresh they are picked up ok. The problem is the data on the page might change so I would like to have the action invoked when the user does a page refresh. But that does not happen.
So I got the struts 2 sources and see if the refresh makes a request to the server, which it does and it gets in the Struts 2 filter dispatcher but it never makes it to my action. I am guessing that is due to the fact that my result for the previous action is a jsp. Now the question is, is there any way to make the framework invoke my action when the user presses CTRL+R or the browser refresh button ? My config file looks like this: <action name="*DashboardAction" class="com.action.setup.dashboard.DashboardAction" method="{1}"> <interceptor-ref name="defaultStack"> ... interceptor stack </interceptor-ref> <result name="input">/setup/dashboard/dashboard_config.jsp</result> <result name="deleteDashboard">/setup/dashboard/delete_confirm_dashboard.jsp</result> <result name="listDashboards">/setup/dashboard/index.jsp</result> <result name="finish" type="redirect-action"> param name="actionName" - listDashboardAction </result> </action> Lukasz Lenart wrote: > > You can check Scope Plugin > http://cwiki.apache.org/S2PLUGINS/scope-plugin.html maybe it will be > helpful > > -- View this message in context: http://www.nabble.com/Struts-2-Page---Ctrl%2BR-tp18036792p18341136.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]