File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 2565

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
I agree. Here's the link:
subject: repopulate radio button
It's not a secret anymore!