It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes repopulate radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "repopulate radio button" Watch "repopulate radio button" New topic

repopulate radio button

karthik swamy
Ranch Hand

Joined: Mar 14, 2011
Posts: 42
Hi everyone,please tell me how to repopulate the radio button after form submission.

Thanks in Advance
Karthik G.
Jan Cumps

Joined: Dec 20, 2006
Posts: 2549

Hi, Karthik,

I am trying to route your post to the correct forum.
Your form, is that a JSP, Servlet, or something else?

OCUP UML fundamental and ITIL foundation
Abhishek Ralhan
Ranch Hand

Joined: Aug 01, 2010
Posts: 40

Do you mean either of below:
- you want to cache the previous radio button selection,
- persist it somewhere and us next time,
- repopulate it to a default value

if no, please elaborate the requirement. Also, are you using some framework like jsf etc. or simple servlets/jsps??

I came to this world on a Learner's License
It is sorta covered in the JavaRanch Style Guide.
subject: repopulate radio button
It's not a secret anymore!