In ur JSP, you might have given some value to your check box. Set the same value in your action class for the respective field in the FormBean.
Ex: <html:checkbox property="abc" value="y"/> Then in your action class: setAbc("y"); Regards Kathir. ________________________________ From: Stanislav [mailto:[EMAIL PROTECTED] Sent: Mon 12/5/2005 4:06 PM To: user@struts.apache.org Subject: problem with checking checkbox before jsp page Before jsp page i have action that connects to db and gettering some data. On values of this data depends checking checkbox. How can i do this? I dont know how to have jsp page with some of checked checkbox.. Tnx, Stanislav --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com