• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

saving table values in a database

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Check your pockets for water buffalo. You might need to use this tiny ad until locate a water buffalo:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic