I am using struts1.3 and I want to checked gender radio button dynamically.
I have session attribute sex if sex value is male radio button should choose male or if sex values is female radio button should choose female.
Are you using Struts form tags for the radio buttons? If so, have your Action set the form value to male/female. If not, your JSP could use an if statement tag (Struts or JSTL tag) to set the selected attribute.