wood burning stoves 2.0*
The moose likes JDBC and the fly likes servlet and database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "servlet and database" Watch "servlet and database" New topic

servlet and database

supriya lal

Joined: Sep 11, 2012
Posts: 15
The "res" is not becoming more than zero and hence the else block in servlet is executing.The database is not getting updated.Please help

Swastik Dey

Joined: Jan 08, 2009
Posts: 1449

Are you getting any exception?

Prabhakar Reddy Bokka
Ranch Hand

Joined: Jul 26, 2005
Posts: 189

Looks like there is an issue with the JDBC code. Test your JDBC code with a simple java class and then try this...

I agree. Here's the link: http://aspose.com/file-tools
subject: servlet and database
Similar Threads
Unable to find specific product
detect the session attributes after the session is TimeOut?
Issue with Invoking UserServlet after logging in successfully form LoginServet
Unable to update database
Show only one record instead of specific record when onclick