Hi.

I noticed that Struts 1.2.x has a new method saveMessages(HttpSession
session, ActionMessages messages) that allows the ActionMessages to be
stored in the session instead of the request. This is very helpful for
displaying messages after a redirect. However, it doesn't seem like
html:messages will display messages in the session (after my cursory
test). The javadoc does mention that the messages are stored for use in
html:messages.

So all I'm doing right now is getting the message from the session in my
action and then putting them in the request for subsequent display and
then removing them for the session. I was hoping for cleaner
integrattion. Are the tags supposed to display ActionMessages in the
session (preferably removing them afterwards)? Alternatively, what
approach should I take here?

Thanks.

Wes


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

Reply via email to