One of the changes in 1.5 is that the _sourcePage parameter is encrypted. If
you restart your server, the random encryption key changes so _sourcePage
can't be decrypted. The easiest way to avoid that, is to set a StripesFilter
init param called Stripes.EncryptionKey. It can be any string, but a long,
random string is best. Stripes will use that value to generate the
encryption key each time it starts up.
-Ben
On Tue, Aug 26, 2008 at 12:33 PM, Marco Amador <[EMAIL PROTECTED]> wrote:
> Hello.
>
> With Stripes 1.5, when a session expires, or the application server
> restarts, if I submit a stripes form opened before,
> it forwards me to the Stripes validation error report:
>
> "Stripes validation error report
> Here's how it is. Someone (quite possibly the Stripes Dispatcher) needed to
> get the source page resolution. But no source page was supplied in the
> request, and unless you override ActionBeanContext.getSourcePageResolution()
> you're going to need that value. When you use a tag a hidden field called
> '_sourcePage' is included. If you write your own forms or links that could
> generate validation errors, you must include a value for this parameter.
> This can be done by calling request.getServletPath()."
>
> How can I change this behavior and forward to a custom jsp ?
>
> Thanks.
>
> Marco
>
--
Ben Gunter
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users