jsp radio button help
843838Oct 6 2005 — edited Oct 6 2005<html:radio name="Type" value="xxxx" property="Type">John</html:radio>
<html:radio name="Type" value="yyyy"
property="Type">Peter</html:radio>
<html:radio name="Type" value="zzzz" property="Type">Smith</html:radio>
<html:radio name="Type" value="pppp" property="Type">Rob</html:radio>
Have these 4 radio buttons in jsp
in the strutsconfig.xml
<form-beans>
name="form1"
type="com.....formbeans.form1"
<form-property
name="Type"
type="java.lang.String"/>
</form-beans>
did this thinking it'll written just one vaue of the radio button which will be string.
but doing so getting the below error
org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 87 column 18: The content of element type "form-beans" must match "(form-bean)*".
org.xml.sax.SAXParseException: The content of element type "form-beans" must match "(form-bean)*".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
how do I have to correct this?
Thanks.