File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes html:radio Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:radio" Watch "html:radio" New topic


trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613

Is it possibel with the html:radio struts tag to select the radio button by default?it yes then how to do it?

Venkatraman Kandaswamy
Ranch Hand

Joined: Jul 07, 2004
Posts: 120
Hi Trupti,

Set the default value for the variable in the form-bean and the corresponding radio button gets automatically selected.

--Venkatraman<br />SCJP 1.4<br /><a href="" target="_blank" rel="nofollow">blog</a>
I agree. Here's the link:
subject: html:radio
It's not a secret anymore!