aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes storing table values in the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "storing table values in the database" Watch "storing table values in the database" New topic
Author

storing table values in the database

payal kapadia
Greenhorn

Joined: Feb 08, 2005
Posts: 10
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

Joined: Dec 19, 2004
Posts: 205
Need more details

Regards
Rohit
payal kapadia
Greenhorn

Joined: Feb 08, 2005
Posts: 10
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: storing table values in the database
 
Similar Threads
Moving columns between tables
saving table values in a database
Developing website in English and Arabic
Table(Rows and columns) in J2ME
Copying data from 1 column of a table to another