Jason,
>From the JSP 1.0 Spec describing the <jsp:setProperty> tag....
If a parameter has a value of ��, the corresponding property is not
modified.
That's probably what is causing the results you are seeing.
-AMT
> ----- Original Message -----
> From: "Jason Garnett" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 04, 2000 6:29 PM
> Subject: Bean property is not set when text field is empty
>
>
> > Hi,
> >
> > My JSP page contains a number of text fields with a send button. I am
> > using setProperty to update the properties of my bean with the contents
> > of the text fields. When I fill in the fields on the page and hit the
> > send button the bean properties are updated (no problem so far). Now if
> > I go back and remove the text from one of the fields and hit send again
> > the corresponding property in the bean retains the original string (it
> > should be set to null). Can anyone explain why this is happening or
> > suggest a fix?
> >
> > Thanks,
> > Jason Garnett
> > [EMAIL PROTECTED]
> >
> >
===========================================================================
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