Hi all,

this is the question: if I set a javabean property to null in a jsp page,
it seems the bean does not call the related method.

Let's suppose a bean contains: public void setPropertyName (String in_par)
{ propertyName=in_par; };

if I put into jsp page: <jsp:setProperty name="bean_id"
property="propertyName" value="" />, the bean does not call the method
setPropertyName;

if I put into jsp page: <jsp:setProperty name="bean_id"
property="propertyName" value="*" />, the bean does call the method
setPropertyName;

but if do I need to empty the property "propertyName"?

any suggestion is welcome

Thank you all in advance

Mauro Quartini
Global Database Services S.r.l.
Via V. Monti, 4
Milano, Italy
tel +39 339 8039053
fax +39 2 66401992
[EMAIL PROTECTED]

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