Thanks,
Remobingthe messages="true" worked.
Chuck
-Original Message-
From: Michael Ruppin [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 1:00 PM
To: Struts Users Mailing List
Subject: Re: Problem with html:message
Check that the ActionErrors ob
Hey,
This is the contents of my request object. This is displayed from inside the
messagesPresent tag:
A Name: javax.servlet.include.context_path
A Name: createAccountForm
A Name: org.apache.struts.action.MESSAGE
A Name: javax.servlet.include.servlet_path
A Name: javax.servlet.include.request_uri
Check that the ActionErrors object under
org.apache.struts.action.ERROR actually contains
anything:
Iterator i =
request.getAttribute(Globals.ERROR_KEY).get();
while (i.hasNext()){
System.out.println(i.next()).getKey());
}
Although, even if it did, I don't think you'll see
them when you set mes
I believe it's the struts-bean.tld write attribute
which actually does the work here, the
struts-html.tld's messages attribute just iterates.
Where's the prefix associated with the struts-bean.tld
in your snippet, that is, one would expect to see
something like:
<%@ taglib uri="struts-bean" pre
http://jakarta.apache.org/struts/userGuide/struts-html.html#messages
David
From: "Ryan Cuprak" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Problem with html:message
Date: Mon, 17 Mar 2003
Hello,
While I have had no problems getting errors to display I am unable to
get messages displayed.
In my jsp page I have the following:
<:write
name="message"/>
6 matches
Mail list logo