This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2-Session check in Jquery-Ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2-Session check in Jquery-Ajax" Watch "Struts2-Session check in Jquery-Ajax" New topic
Author

Struts2-Session check in Jquery-Ajax

saravanan Senthil
Greenhorn

Joined: Jan 11, 2013
Posts: 11
Hi,
I'm working in Struts2 and using Jquery-ajax function to call action class,If the session is expired/logged out I'm not able to redirect to login page.
How can I check whether the session alive or not in ajax call.Please help me..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts2-Session check in Jquery-Ajax
 
Similar Threads
Long request with struts2
How to get session values in struts2
Any hint of JQuery on struts2 tutorial, thanks!
ajax and struts2
Struts2 Tree