Hi John, I ran into something similar with the select/options tag last week. The solution may be the same. The tag sets a variable in the form with the user's selection, and if you set the same variable in the form in your action class to what you want selected, it may use that as the initial value. I haven't used the radio tag yet, so I may be totally off track here.
I hope this helps. -- Larry -----Original Message----- From: John M. Corro [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 9:57 AM To: [EMAIL PROTECTED] Subject: Preselecting Radio Buttons I would have thought this was a simple thing, but I must be missing something. Is there an attribute to the <html:radio> tag that sets it as selected? I want to have a group of radio buttons w/ 1 button being the default. I didn't see anything in the tag lib documentation and I tried coding in the default value into the reset method (so if the form attribute was "programmerLanguage", I would say 'programmerLanguage = "java";' in the reset method., but no luck on either front. Can anyone provide some insight into this simple problem? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>