aspose file tools*
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
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: 5288
    
  10

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