hi all,

I am looking at some simplified way of displaying the radio button
on a jsp depending upon the value of an ActionForm's property.

For example I have got an ActionForm with a property name sex, which can
take 'M' or 'F' as input.

Now after storing the value in an ActionForm instance (which is then set as
a request
attribute) from database, I am forwarding the request to a jsp where I need
to
display the values I collected. like

(.) Male
( ) Female

Is there any elegant way of doing this using <html:radio> tags in struts ?


I know its pretty simple in case of simple input box where we do it by
<html: text property="sex" name="MyActionForm" /> but how to go with radio
buttons ?


Any suggestions ?

 --Rahul





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to