This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SQLException General Error  RSS feed

 
Sanjay Jadhav
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
I have the jsp page take data and pass to javabean which connect from jdbc(jdbc dbc) to access, for passing the parm from form i used preparedstatement but is gives me SQLException saying General Error.
can any one suggest me ehat should i do.
with best regards,
sanjay
 
Michael OBrien
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One thing I do is check my sql by putting the code in main() in a java application. Once it is working there, I move it to a class or bean and call from jsp. Test it from the ground up.
Hope this helps,
Mike
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!