This could be something. I do have the taglib definition but I am using
the el version, so mine looks like this:
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html-el"
prefix="html"%>
Would that make a difference? I will try it the other way.
Brad Balmer wrote:
Any chance that you are missing the include for struts-html?
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
Granted I'm using 1.2, but I'm still using the saveMessages(request,
messages) and using this to display messages and errors:
<logic:messagesPresent>
<html:errors/>
</logic:messagesPresent>
<logic:messagesPresent message="true">
<html:messages id="msg" message="true" header="message.header"
footer="message.footer">
<li><font color="blue"><bean:write name="msg" /></font></li>
</html:messages> </logic:messagesPresent>
Ross Gibb wrote:
Hi,
Thanks for the response, but no dice, still doesn't work. I changed
the jsp to the following:
<code-snippet>
<ul>
<html:messages id="message" message="true">
<li><c:out value="${message}" /></li>
</html:messages>
</ul>
</code-snippet>
I am using Struts 1.1 so I don't have access to addMessages().
Any other suggestions?
Thanks,
Ross
Yan Hu wrote:
if (!messages.isEmpty())
saveMessages(request, messages);
use addMessages(....). saveMessages has been deprecated.
<ul>
<html:messages id="message">
<li><c:out value="${message}" /></li>
</html:messages>
</ul>
You left out the "message" attribute. Set it to "true".
<ul>
<html:messages id="message" message="true">
<li><c:out value="${message}" /></li>
</html:messages>
</ul>
---------------------------------------------------------------------
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]