A coworker of mine has a Boolean property in a form bean which is supposed to remain null until some particular condition happens. The jsp contains this:
<html:hidden property=“propertyInQuestion” />
and it renders as:
<input type=“hidden” name=“propertyInQuestion” value="" />
when the value in the form bean is null. However, when the form is posted to the server, the value of false is put into the property which is incorrect. I couldn’t find anything in a google search, so I turn to my fellow dopers. How can we get it to post null back to the form bean? We are on Struts 1.2.4, BTW.
Thanks in advance,