Still not clear but if the value you think you are setting for your checkbox is not correct, it may be as simple as malformed HTML being generated by whatever means you are using on the server (
JSP perhaps?).
Why not do a "view source" in your browser, cut and paste the relevant part of the HTML page, and post it here for inspection (be sure to use the UBB code tags to preserve its formatting).
hth,
bear