Hi,
I am trying to use custom error messages for a form validation. I need to get displayed all messages for the fields that are kept blank.
I have done like this :
bean :
util class
jsp :
What I am trying to do is, when press the save button all the fields in the form should be validated and display error messages.
At the moment what I am getting is, when I press save button for the first time it will display message for the first field that kept blank(I need to get all messages for all fields that kept blank ) and then when I press save button second time page goes off with exception.
I am not sure where I am going wrong. Please help me .
Thanks,
Joe.