Token Help Neede

2004-05-03 Thread shankarr
Hi! I have an issue in my web application. My control flow is as follows : 1. On cliking a link, show Page AA as a result of ForwardAction 2. User fills data in AA and then clicks submit button. 3. This submit button internally invokes my Action class Action1 which adds data to db and calls clas

Re: Token Help Neede

2004-05-03 Thread yoge
Hi Richie , include below line in the jsp that contains the form(AA in your case) <%@ page import="org.apache.struts.util.TokenProcessor" %> <% TokenProcessor token = TokenProcessor.getInstance(); token.saveToken(request); %> This should be included before tag. You should use in the d