my dog learned polymorphism*
The moose likes JSP and the fly likes How to insert values into the same column of the database from different textboxes 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 » Java » JSP
Bookmark "How to insert values into the same column of the database from different textboxes" Watch "How to insert values into the same column of the database from different textboxes" New topic
Author

How to insert values into the same column of the database from different textboxes

Shyam Kasthala
Ranch Hand

Joined: Mar 30, 2006
Posts: 48
Hi Friends,
How to insert values into the same column of the database from different textboxes.The problem is like this->
There r 4 checkboxes and corresponding to them there r textboxes each has a same name.So, if i click one check box and enter the value from the corresponding textbox then only those values shud go into the database.Please can anyone tell me how to do this.Its very Urgent.Can anyone send me the code for this?Thankyou.


Thanks & Regards<br /> Shyam Kasthala<br />ILFS Infotech Limited
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60759
    
  65

Please read this and this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
cant you check which checkbox has been checked (or) which textbox has been populated, on the server side?



MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to insert values into the same column of the database from different textboxes
 
Similar Threads
Dynamic Textboxes.
How to insert multiple selection from JSP to MySQL
How to deal with boolean fields in EJB2.0?
How to insert values into the same column of the database from different textboxes
How to deal with boolean fields in EJB2.0?