The nightly build has a method that allows you to store messages in the
session.
They are automatically removed after being displayed.

Action:
    protected void saveMessages(HttpSession session, ActionMessages
messages)

Steve

> -----Original Message-----
> From: Chris Searle [mailto:[EMAIL PROTECTED]
> Sent: October 17, 2003 1:44 AM
> To: [EMAIL PROTECTED]
> Subject: Re: struts-el and messages
>
>
> >>>>> "Chris" == Chris Searle <[EMAIL PROTECTED]> writes:
>
>     > Had the problem with using the html:messages with struts-el
>     > from the 1.1RC1 build (NullPointerException) - so I've just
>     > upgraded to 1.1 (thought I'd already done so).
>
>     > Now - I get no exception - but I get no message either.
>
> Got it. The forward was set redirect="true" so of course the messages
> disappeared.
>
> However - we do have a couple of (odd) places where a redirect is
> desired but keeping the messages - is this possible? Can they be
> propagated over a redirect by use of session or similar?
>
> --
> Chris Searle
> [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to