do some thing like...
public static void logErrorOnce(ActionErrors errors, String errorKey) {
if (errors.get(errorKey).hasNext() == false) {
logError(errors, errorKey);
}
}
-----Original Message-----
From: vasilenko [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 1:52 PM
To: struts-user
Cc: vasilenko
Subject: <html:errors/> question
Dear,
Describe:
I have for example 10 form field (with validaton required). I see in the
jsp(<html:errors/>) 10 errors when I try to inut ntohing.
Question:
I want to see in the jsp only for example 3 errors.
Best regards,
Dmitry.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>