I have a problem.
when I use <s:token> in the form to be submitted and <interceptor-ref name="tokenSession" /> in the struts.xml for corresponding action,
the setter methods in the Action class are not called...... as a result I am not able to save form parameters into database.
I don't see any error or warning messages on the tomcat's console.
However, if I remove <s:token> and <interceptor-ref name="tokenSession" /> , on hitting the submit button setter methods are called and I am able to save them into database.
what could be the problem?
can anyone give me some clue..
thanks in advance.
Joined: Sep 25, 2012
Hi..It should be <interceptor-ref name="token-session/>
instead of <interceptor-ref name="tokenSession/>