Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java Databases
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases 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 May 4th, 2007, 03:29 AM
Registered User
Join Date: May 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default connecting DB with JSP using Java Bean


I have developed Product information module in JSP using java Bean . I have established JDBC connection in bean to insert the product details.

But a problem occurs , the bean returns the values in JSP page, but it wont insert values in Table(MS Access Table). How can I solve it? .

Thank you .

Old May 7th, 2007, 03:44 AM
Friend of Wrox
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post

Try calling connection.commit() after inserting values into the database.


Similar Threads
Thread Thread Starter Forum Replies Last Post
which one is fast: java Bean implementation Or Arr dhruthi.ram99 Pro JSP 1 April 1st, 2008 03:07 AM
Jsp,bean iishu JSP Basics 0 November 17th, 2007 11:21 AM
Calling bean from jsp page madhavaram123 JSP Basics 6 May 10th, 2006 09:15 PM
java bean VS ejb kishore.dyn J2EE 0 February 20th, 2006 01:58 AM
Retrieve Data from Java Bean to JSP page Nirav Joshi JSP Basics 1 August 24th, 2005 07:45 AM

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