• Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet and database  RSS feed

 
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


 
Rancher
Posts: 1821
15
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you getting any exception?
 
Ranch Hand
Posts: 198
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...
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!