This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 31st, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,899 Users
  • 2,269,649 Discussions
  • 7,916,821 Comments

Discussions

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......:(
This discussion has been closed.