Well, it adds a parameter to the query string of the link containing the token. You do need to save the token in the request in the Action prior to the page:

public class MyAction {
  public ActionForward execute(...) {
    ...
    saveToken(request);
    ...
  }
}

Jignesh Patel wrote:

Does that set a same token which will be used to avoid duplicate
submission.

-Jignesh
On Thu, 2004-07-08 at 09:19, Bill Siggelkow wrote:

You can add the token to a link URL (html:link or html:rewrite tag) by setting 'transaction="true"'.

Jignesh Patel wrote:

We have specific requirement for generating token in JSP instead of
action class to avoid duplicate submission.

Can anybody tell us how to do that.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to