How to set bean property when field is empty
Hi,
i am using <jsp:setProperty> in my jsp pages such that field values get stored in the bean properties
<jsp:setProperty name="adetails" property="*" />
The problem I am facing is for empty fields the bean is not getting called.
Suppose there is a Name field.
When I am writing a value in the field for example Ron ,its getting stored in the name property of adetails bean.
But afterward if I am erasing the value Ron and making the field empty the bean property is not changing.
Is there any way this can be accomplished.........I dont want to manually code for every field.....there are too many fields......:(