Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how add data in database through jsp

 
muhammad fahim
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi master sir i am using netbeans 5.5

i use this code for show data in jsp page


but sir how i insert data in to database please send me code

thank's

aamir
[ April 09, 2007: Message edited by: Ben Souther ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you know how to get a connection and how to read form parameters.

Moving to our JDBC forum where you'll get better help building your instert statement.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aamir,
Take a look at this page for an example. The two main parts are the JDBC code and the SQL for insert.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic