• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet and database

 
supriya lal
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1625
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you getting any exception?
 
Prabhakar Reddy Bokka
Ranch Hand
Posts: 197
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like there is an issue with the JDBC code. Test your JDBC code with a simple java class and then try this...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic