struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "starki78" <>
Subject saveToken:solution works~~
Date Tue, 02 May 2006 13:15:16 GMT
Thank you for your comments
now I made a few steps but my solution

Then I submit twice I want that the first submit continues
and the second will be ignored!!!!!
In this example also the first request will 
be stopped! How can you prevent this??
Has someone an idea?

  in the first action
   I use saveToken(request)
   in the second:

    //forward to the input
    if(!isTokenValid(request,true)) //submit functionality here
        ActionMessage msg = new ActionMessage("errors.noToken","<b></b>");
      messages.add("msg", msg);       
      saveMessages(request, messages);
      return mapping.findForward("error");



Hope someone can help me!
Thanks a lot!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message