Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SQLException General Error

 
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!