I am using the reference implementaion 1.0

If you have the following in a JSP file

<jsp:setProperty name="numguess" property="guess"/>

The following java code is generated

if(request.getParameter("guess") != null &&
!request.getParameter("guess").equals("")) {
    numguess.setGuess((request.getParameter ("guess")));
}

so if the input from the form is blank then the property is not set on the bean.

The following in the JSP
<jsp:setProperty name="numguess" property="*"/>
generates this java code
 JspRuntimeLibrary.introspect(numguess, request);

I would suspect that the same behaviour applies to setting all the properties on
 a bean as with just setting one property on a bean

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to