i have struts html based checkbox

<html:checkbox disabled="true" value="Y" property="active" >Yes</html:checkbox>

when i submit the form after checking the checkbox the bean value should get "Y" value.
Since the checkbos is disabled the bean value becomes null even after i check the checkbox

do any one know a solution for this problem

Have you tried using another attribute than "disabled".
The input "text" has an attribute "readonly". Search what other attributes the checkbox has.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.