On Thu, Jan 16, 2003 at 11:06:58AM +0100, Rickard �berg wrote: > Philipp Meier wrote: > >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()? > > There would be no hidden field. When the URL is generated that URL is > associated with the actions to be run. There's no way to figure out from > the URL what actions will be executed.
Does this mean that when I use the ww:form tag, the target url will be pushed / popped? That sounds even more reasonable. We can then use that in the other view layer, too. Ander's idea of caching the execution result would IMHO fit here. Of course it must be made optional if on the second submit the result is fetched from the cache or an error is thrown. I'm not sure how this configuration can be achieved, any Ideas? I suppose having a new RobustServletDispatcher that uses a combined Token Stack and Action Cache stored in the session. -billy. -- Meisterbohne S�flinger Stra�e 100 Tel: +49-731-399 499-0 eL�sungen 89077 Ulm Fax: +49-731-399 499-9
msg01274/pgp00000.pgp
Description: PGP signature
