Our application based on Spring Security & Struts 2 runs under tomcat 6.
Here is security http config:
Our default login page /dashboard.action sends many ajax requests which receives json objects as the response:
If user does logout quickly after login, on next login sometimes he hit ajax json request action instead of the last visited page, and download file interface appears:
So how can I resolve this problem?
I can't use always-use-default-target="true", because project requirement is to remember last visited page and enter it after login.