This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi All, i have an application when a user selects a year it call the onChange method of the year combo and creates an xmlHttpRequest, assings a callback method (to render html when the request is complete) and call an action. The problem happens is when the user session is expired, i intercept the request in the mainactioncontroller, and it checks for the user session. and if it null it redirects the request to login.jsp page. But this is not happening and the controls comes back to the callback method to render the html and it results in some junk page. My architect suggested me to check in the call back method what is the req.responseText and set the req back to login.jsp page. Any idea what is hte most feasible way to handle this Thanks Rashid