• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

html radio

 
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Marshal
Posts: 15888
265
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic