This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

storing table values in the database

 
payal kapadia
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hii...
i am really stuck here, so please try and help me out in this.
Ive got this table which has different columns .you can click on a 'add row' button to insert new data.This data is in the form of normal text in the cells.
My problem here is how do i send the data from the various columns of this table into the database in the respective columns.Im using jsp, java beans and sql.

Thanks a lot,
waiting for your replies,

payal
 
Rohit Bhagwat
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Need more details

Regards
Rohit
 
payal kapadia
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What i meant earlier was that once ive got values in a html table how do i insert the same in the database...

payal
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it's normal text, you will need to do some Javascript heroics to dynamically build a form from that text and then submit it.

You may also want to consider having the cells contain input fields instead of plain text.

Since all of this occurs in the user's browser, you might get better answeres in the HTML Javascript forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic