Hi, I wrote a interceptor as follows but looks like variables/parameters in the action class are not populated as part of the form submission. Which means introspection does not seem to work it gives null values,
I only defined the interceptor not modified the default stack, pls advice how to get the introspection also working, my interceptor and struts.xml roughly looks as follows. public class PortletApplicationScopeHandler extends AbstractInterceptor { public String intercept(ActionInvocation invocation) throws Exception { invocation.addPreResultListener(new PreResultListener(){ @SuppressWarnings("unchecked") public void beforeResult(ActionInvocation invocation, String resultCode) { //some logic here before it goes to the target jsp //.................... } } ); return invocation.invoke(); } } and in my struts.xml the interceptor looks as follows <package name="myStuff" extends="struts-portlet-default" namespace="/myStuff"> <interceptors> <interceptor name="sessionScopeHandler" class="test.interceptor.PortletApplicationScopeHandler" /> </interceptors> <action name="testAction" class="test.MyAction"> <interceptor-ref name="sessionScopeHandler"></interceptor-ref> <result>/jsp/test/test.jsp</result> </action> ................... ...................... -- View this message in context: http://www.nabble.com/struts-2-portlet-interceptor-issue-tp24799881p24799881.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org