This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html radio" Watch "html radio" New topic
Author

html radio

manasa teja
Ranch Hand

Joined: May 27, 2002
Posts: 325
friends
I need ur help!!
Ordinary JSP tag for radio....
<input type="radio" name="xyz" value="100" checked="checked">
( means, the radio button is checked)
what is equivalent code in STruts JSP ??
<html:radio property="xyz" value="100" CHECKED??? />
how to make the radio button checked,??
please help me on this


MT
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4456
    
    6

Just set the xyz property in the ActionForm to the value that matches the radio button's value. The tag takes care of adding selected for you.


Junilu - [How to Ask Questions] [How to Answer Questions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html radio