I created an object that contains screenMessages and put in a session. In the JSP it iterate over the message and when done, I clear all messages.
kiet -----Original Message----- From: T. Wheeler [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 7:19 PM To: [EMAIL PROTECTED] Subject: How to use ActionMessages *and* redirects Hello, In my application, I need to show status messages after a record is updated. I am using ActionMessages to do this -- and it works. However, there is some other information on the page that shows the status message. The user will very likely refresh this page so that information is updated, but doing so will cause the update form to re-post. I could prevent this by redirecting to the status message page instead of forwarding (i.e. so the URL in the browser's address bar is updated). When I set up the mapping for the status message page to redirect="true" in the struts-config.xml, the status messages stopped being displayed. Is there any way that I can get the ActionMessage associated with the request to persist past the redirect? Thanks- Tom -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>