Reputation: 477
Issue with Struts2 checkbox tag
<s:checkbox name="user.secondaryContactRequired" />
Here secondaryContactRequired
is a boolean
type in User Entity. When I click on check box value of secondaryContactRequired
is true
.
But when I uncheck the checkbox then secondaryContactRequired
is taking as true only, but I want this value as false
Why this is happening? Please advise me what's wrong with this.
Thanks in advance
Upvotes: 1
Views: 921
Reputation: 477
I have included interceptor...Now its' working...Thanks to all for sharing your valuable solutions
Upvotes: 1