When i click this ActionForm takes the value true otherwise it will take false,
That's exactly how it works in Struts.
One thing you do need to do, though, is override the reset() method in your ActionForm.
You must have your reset() method set any properties in your ActionForm controlled by a checkbox to false. You need to do this because if the checkbox is not checked, no data will be sent to the server for the property, and consequently the property's setter will not get called. By setting it to false in the reset method, you make sure that if it was true previously and the user unchecks the box, it will be false after the form is submitted.