Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 4th, 2006, 07:06 AM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default help needed in jdbc in servlet

hi frnds
i want to insert data in table for eg. filds are like name, username and password how to insert it
pls reply or give me the code of this servlet

 
Old January 16th, 2006, 12:23 AM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

JDBC is really not as straight-forward as you're expecting. The code needed to do what you're requesting depends on the location of your database, what kind of database you're running, the name of your database, and what fields you would like to insert.

Perhaps you should start with a JDBC tutorial? This looks like a good start: http://www.javaskyline.com/learnjdbc.html.

Jon Emerson
Computer Scientist
Adobe Systems, Inc.





Similar Threads
Thread Thread Starter Forum Replies Last Post
new to jdbc HumaMunir Java Databases 3 August 1st, 2005 04:26 PM
Pls help for JDBC in Servlet gokul_blr Servlets 1 August 5th, 2004 12:27 AM
JSP, Servlet & JDBC Cycle gokul_blr BOOK: Beginning Java 2 1 July 28th, 2004 11:35 AM
Cannot load JDBC driver class with com.mysql.jdbc. dzis Apache Tomcat 0 January 29th, 2004 11:57 AM
Cannot load JDBC driver class with com.mysql.jdbc. dzis MySQL 0 January 29th, 2004 11:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.