This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply 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: 56540
    
  14

Please read this and this.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to insert values into the same column of the database from different textboxes
 
Similar Threads
How to deal with boolean fields in EJB2.0?
How to deal with boolean fields in EJB2.0?
How to insert multiple selection from JSP to MySQL
Dynamic Textboxes.
How to insert values into the same column of the database from different textboxes