Re: JSP does not display error message from validate()

2006-06-17 Thread Scott Van Wart
[EMAIL PROTECTED] wrote: I am trying to display error message in JSp page using the following: The code in my validate method is: errors.add("invalidDate", new ActionMessage( endDate + " must be greater than " + startDate )); return errors; Any clue whats wrong? Couple things: 1) Try usin

Re: JSP does not display error message from validate()

2006-06-17 Thread thamizh arasu
Hi, To display the error message in ur jsp you have to do 2 things. 1. you are getting the errror message with the property key. so that you have to have a form field with the specified property id name 2. This is by default usage. you have to give the properties key id at the time of creating