File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes saving table values in a database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "saving table values in a database" Watch "saving table values in a database" New topic
Author

saving table values in a 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
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
Well first off, you might get more of response if this was placed in the Servlet/JSP forum.

If you took the long way. I would recommend you look into struts. If you want to take the short route.

I would first put my database logic in a java bean, create a servlet to handle the request(s) i.e."Add Row" from your JSP page, use the java bean inside the servlet to update the database with data stored in the request object from your JSP page.

I hope I understand your question.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: saving table values in a database