Patrick Lin wrote:

>    It will skip calling the setXxxx method.  However, I am not sure if it
> depends on the engine implementation.  I am using WebLogic...

I am also using WebLogic and it is my tentative conclusion that it does NOT
meet the spec on this. I am seeing attempt to call a setXXX when no
parameter XXX appears in HTTP request parameter list.

The specifics are my situation is that I have two setters setXXX with different
signatures. At <jsp:setProperty id="bean" name="foo" property="*" /> WebLogic
reports that is can't resolve setter because of ambiguity of setXXX(null).  Again,
this is the case where XXX does not appear as parameter. That is reporting
this message at all tells me 1) it does attempt to invoke all setters and 2) for
those w/o parameters in http request, it is passing null.

This leads me to conclude WebLogic is not in compliance per Hans reporting on
section 2.13.2.1:

rob


>
>
> -Patrick
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Brian Slezak
> Sent: Monday, September 18, 2000 1:13 PM
> To: [EMAIL PROTECTED]
> Subject: Quick bean question.
>
>     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 ""?
>
> Thanks,
> Brian
>
> ===========================================================================
> 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
>
> ===========================================================================
> 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

===========================================================================
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

Reply via email to