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.
This is a totally different situation. The solution I described before would work for a case where the value of the box is not boolean, and you just want a list of the values. It would not work for this situation
By changing the value to false and checking the box, you are making sure that a value will be sent back to the server, and that the value will be false.