aspose file tools*
The moose likes JDBC and the fly likes how add data in database through jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how add data in database through jsp" Watch "how add data in database through jsp" New topic
Author

how add data in database through jsp

muhammad fahim
Ranch Hand

Joined: Dec 17, 2006
Posts: 45
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30506
    
150

Aamir,
Take a look at this page for an example. The two main parts are the JDBC code and the SQL for insert.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how add data in database through jsp