Thankyou for your response.
yah. I know <logic:messagesPresent> will check if messages are present. but
I would like to know
how many messages are present.
if just one then planning to get only the message not the <UL>. Now it's
returning <UL<LI>message</LI><UL>. planning to get only message if it's one.
is there way to do this?
From: "Kalcevich, Daniel" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: "Struts Users Mailing List" <user@struts.apache.org>
Subject: RE: html:errors
Date: Fri, 10 Mar 2006 09:54:33 -0800
Try using the <logic:messagesPresent> tag if you wish to check for the
existence of errors on a JSP page.
Or this link provides some help info regarding the errors object.
http://husted.com/struts/tips/017.html
-----Original Message-----
From: fea jabi [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 9:48 AM
To: user@struts.apache.org
Subject: html:errors
<html:errors property="acctNumber">
is returning an <UL>
how to determine the length of the list? would like to check if it has
more
than one error for this property?
Thanks.
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
---------------------------------------------------------------------
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]
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]