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
-
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
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
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
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
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
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
: 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
... :(
- 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
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
10 matches
Mail list logo