Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JDBC 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "repopulate radio button" Watch "repopulate radio button" New topic

repopulate radio button

karthik swamy
Ranch Hand

Joined: Mar 14, 2011
Posts: 39
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: 2491

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
youtube channel
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
Consider Paul's rocket mass heater.
subject: repopulate radio button
Similar Threads
Use CSS to make a button in pressed mode
Check boxes
Javascript Problem with onchange event
Text wraps underneath radio buttons
get value from radio button