I create a demo project to implement token session to prevent multiple form submission. It worked fine.
But it didn't work when I implemented the same thing in my project.
I have written <s:token/> inside form tag in login.jsp.
Rather than showing the login page, it showing the error page directly.
Can you post the whole code or the dummy application where its not working. Try to find out the changes because of which it works in one project and not working in another projectPost some code .
Also,Make sure s your <s:token> tag is inside the form tag.