| Article: |
Learning Jakarta Struts, Part 2 | |
| Subject: | problem while displaying errors | |
| Date: | 2001-11-01 00:24:29 | |
| From: | harish_babu | |
|
Hi, I have many fields ( HTML input boxes) in my JSP page. When there is some error in user input, on using "Action errors" the errors are displayed in random manner even if i add error to errors collection in the order in which the fields are displayed in my JSP page.Basically i want to display errros to be displayed in the same order in which the fields appear, Using struts provided API can i do that ? |
||
Showing messages 1 through 1 of 1.
-
problem while displaying errors
2002-08-26 15:46:29 mikemiller991 [View]



I have seen that if I use the following
<html:errors property="fieldname" /> I can display the message in a particular order for a particular field. However the problem doing it this way is that my the errors.header and errors.footer is called every time.
Mike