Hi,

I would like to know if there is some sequence followed in calling the setter
methods in a bean.

Assume that in my form I have 3 fields in the following sequence :
1. year
2. month
3. day

Is there a guarantee that when the form is submitted, the years setter is called
before the months and days setter method, and that the months setter is called
before the days setter method ?
I need to perform some validation checks that if the month is February, the
days should not exceed 28 or 29 depending on whether it is a leap year. I want
to perform the checks in the setter methods itself.

Thanx

Masaoud

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to