Brian Slezak wrote:
>
> When a JSP page updates a bean from a form, and a form field is blank, does
> it just skip calling the setXxxx method, or does it call the setXxxx method and
> pass a String with a value of ""?
It doesn't call the setXxxx method at all if the parameter value is an empty
string ("blank"). This is the defined behavior per the spec.
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets