On Thu, Jan 16, 2003 at 08:45:53AM +0100, Rickard �berg wrote: > Jason Carreira wrote: > >I remember Rickard was talking about something to prevent 2 submits, but > >I'm not sure what it was... > > I proposed the ability to associate URL's with actions. When the URL is > requested the action is executed and the association is removed. This > removes the need for any Javascript solution or any hidden fields or any > such tricks. > > And this is also how the Portlet API is going to work. The only > "problem" with it is that you'd have to use a JSP tag or similar to > generate the URL.
Hmmm, doest this mean, the jsp tag does sth. like session.getTokenStack().push(new RandomToken()) and the action compares the value passed in the hidden field to getTokenStack().pop()? -billy. -- Meisterbohne S�flinger Stra�e 100 Tel: +49-731-399 499-0 eL�sungen 89077 Ulm Fax: +49-731-399 499-9
msg01270/pgp00000.pgp
Description: PGP signature
