aspose file tools*
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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "servlet and database" Watch "servlet and database" New topic
Author

servlet and database

supriya lal
Greenhorn

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
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

Are you getting any exception?


Swastik
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...


SCJP 5, SCWCD 5
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: servlet and database