p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Java Databases (http://p2p.wrox.com/forumdisplay.php?f=114)
-   -   connecting DB with JSP using Java Bean (http://p2p.wrox.com/showthread.php?t=57463)

Q4Java May 4th, 2007 03:29 AM

connecting DB with JSP using Java Bean
 
Hello,

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 .


iamrakesh22 May 7th, 2007 03:44 AM

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

Regards,
Rakesh


All times are GMT -4. The time now is 06:37 AM.

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