html:messages/ not displaying messages

2003-03-13 Thread louis majanja
i have this in my actionForm: ActionMessages messages = new ActionMessages(); messages.add(message, new ActionMessage(message.login.confirmation)); saveMessage(request,messages); in my jsp i have html:messages / it doesn't work, i have tried the following options which

Re: html:messages/ not displaying messages

2003-03-13 Thread Ian Hunter
- From: louis majanja [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 1:03 PM Subject: html:messages/ not displaying messages i have this in my actionForm: ActionMessages messages = new ActionMessages(); messages.add(message

RE: html:messages/ not displaying messages

2003-03-13 Thread Sri Sankaran
snip/ html:messages id=msg property=messages message=true c:out value=${msg}/ /html:messages Can you do that? Don't you have to use html-el:messages if you want to use c:out? Have you tried html:messages id=msg property=messages message=true bean:write name=msg/ /html:messages

RE: html:messages/ not displaying messages

2003-03-13 Thread Zheng, Gang
To: Struts Users Mailing List Subject: html:messages/ not displaying messages i have this in my actionForm: ActionMessages messages = new ActionMessages(); messages.add(message, new ActionMessage(message.login.confirmation)); saveMessage(request,messages); in my jsp i have

Re: html:messages/ not displaying messages

2003-03-13 Thread louis majanja
bean:write name=message/br /html:messages - Original Message - From: louis majanja [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 1:03 PM Subject: html:messages/ not displaying messages i have this in my actionForm

Re: html:messages/ not displaying messages

2003-03-13 Thread Ian Hunter
Are you redirecting or forwarding to your JSP from that Action? - Original Message - From: louis majanja [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 1:44 PM Subject: Re: html:messages/ not displaying messages that didn't work

Re: html:messages/ not displaying messages

2003-03-13 Thread louis majanja
: Re: html:messages/ not displaying messages that didn't work On Thu, 2003-03-13 at 10:18, Ian Hunter wrote: Just to see if this gets you anywhere, do messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage (message.login.confirmation)); saveMessages(request, response

RE: html:messages/ not displaying messages

2003-03-13 Thread Chen, Gin
: html:messages/ not displaying messages i am forwarding On Thu, 2003-03-13 at 11:14, Ian Hunter wrote: Are you redirecting or forwarding to your JSP from that Action? - Original Message - From: louis majanja [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent

Re: html:messages/ not displaying messages

2003-03-13 Thread Ian Hunter
... :( - Original Message - From: louis majanja [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 2:35 PM Subject: Re: html:messages/ not displaying messages i am forwarding On Thu, 2003-03-13 at 11:14, Ian Hunter wrote: Are you redirecting or forwarding

Re: html:messages/ not displaying messages

2003-03-13 Thread Rick Reumann
This sounds silly, but I can't tell you how many times I forgotten to include the taglib on the page and wondered why things wouldn't print:).., Have you checked that you have the bean tag lib defined on your page? %@ taglib uri=/WEB-INF/struts-bean-el.tld prefix=bean% (Your location maybe