Re: Transactional Control Tokens?

2002-02-01 Thread Mister Hundy
It prevents an erroneous double submit. If your users use the back button or click submit twice the isTokenValid() will return false since the token was reset on the original call. In the struts-example application in (SaveRegistrationAction.java:190, :161) the author calls the method

Re: Threading issues

2002-02-01 Thread Mister Hundy
Brian, Try to define all your variables as local to the methods in the action class. If you need to have instance variables be aware that they are shared among all the threads accessing the action. Hi there, I have not yet had to develop an application that had to deal with threading

Re: archive of this list

2002-01-27 Thread Mister Hundy
http://www.mail-archive.com/struts-user@jakarta.apache.org/ From: Michael [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: archive of this list Date: Fri, 25 Jan 2002 20:52:45 -0800 MIME-Version: 1.0 Received: from

Re: The same name in scope, but different names in struts-config.xml

2002-01-11 Thread Mister Hundy
Christian, Would it be possible to have just 1 form with a type property and then from the JSP's a hidden field that sets the type? Based on this type you can control the proper validation. Having different classes with the same form name could get messy. From: Christian Bouessay [EMAIL