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
> 
> 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);
> > 
> > then use
> > 
> > <html:messages id="message" message="true">
> >     <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:
> > > 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 don't work
> > > either
> > >
> > > <html:messages message="true"/>
> > >
> > > <html:messages id="msg" property="messages" message="true">
> > >   <c:out value="${msg}"/>
> > > </html:messages>
> > >
> > > i don't get an error nor do i get any output
> > > im using struts release candidate 1.1
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> > 
> 
> ---------------------------------------------------------------------
> 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