Hi , Iam beginner in Struts2, iam having query on Execute and wait Interceptor ,
my code flow is like this Login->Wait Interceptor->Menu/Fail.jsp I added Interceptor in Struts.xml <action name="doLogin" class="validatorlogin.Login"> <interceptor-ref name="completeStack" /> <interceptor-ref name="execAndWait" /> <result name="wait">Wait.jsp</result> <result name="success">menudemo.jsp</result> <result name="error">Fail.jsp</result> </action> When i run the project, After Submitting Login.jsp ,Wait.jsp is rendered after that i[b]t throws Null pointer Exception instead of Menu.jsp[/b] With reference to http://struts.apache.org/2.0.6/docs/execute-and-wait-interceptor.html http://struts.apache.org/2.0.6/docs/execute-and-wait-interceptor.html i tried adding delay before the wait page but i get Compilation error <interceptor-ref name="execAndWait"> 1000 50 <interceptor-ref> Could any one please help me out , Thanks in advance, Arvin -- View this message in context: http://old.nabble.com/Null-Pointer-Exception-After-calling-Execute-And-Wait-Interceptor-tp27055508p27055508.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