json action redirection in struts2

2009-01-08 Thread ravindra


Hi guys,

 

  I have two action configured in struts.xml like below.My interceptor stack
noValidationLoginStack will check for session is timed out or not.

If the session is timeout returns "login" so the page goes to login.jsp.It
is working fine in first package but from json

Packages and action classes it is not getting redirected.Can any one solve
the problem?

 





login.jsp

  





accountActivity.jsp

accountActivity.jsp

selectAccount





 

 





login.jsp

  



  

  false

  





 

Thank you,




-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



json action redirection in struts2

2009-01-07 Thread ravindra
Hi guys,

 

  I have two action configured in struts.xml like below.My interceptor stack
noValidationLoginStack will check for session is timed out or not.

If the session is timeout returns "login" so the page goes to login.jsp.It
is working fine in first package but from json

Packages and action classes it is not getting redirected.Can any one solve
the problem?

 





login.jsp

  





accountActivity.jsp

accountActivity.jsp

selectAccount





 

 





login.jsp

  



  

  false

  





 

Thank you,