Adam Hardy (struts) wrote > Dimitris Mouchritsas on 01/07/08 16:50, wrote: > > actually you can put the messages collection into the session if you're ok > to > manage it yourself. > > session.setAttribute(Globals.MESSAGE_KEY, messages); > > and then in the next action redirected to: > > ActionMessages messages = new ActionMessages((ActionMessages) > request.getAttribute(Globals.MESSAGE_KEY)); > messages.add((ActionMessages) > session.getAttribute(Globals.MESSAGE_KEY));
Thank you. This worked for me when I added the following line to the 2nd block of code (the next action redirected to) saveMessages(request, messages); -- View this message in context: http://struts.1045723.n5.nabble.com/Showing-messages-after-a-redirect-tp3481980p5712345.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org