3
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by hooknc
0

don't do that kind of stuff in a JSP. Use a proper application architecture, JSPs should be used for display only and NEVER use scriptlets.

0

I agree with jwenting. Its a bad idea to do database programmiing in a jsp. But my guess is you won't stop doing it. So I would recommend puting system.out statements in your catchs to see if an exception is being thrown. I would also try and up your logging on your database to see exactly what is being requested. Overall, the logic looks ok, maybe the data being sent isn't correct.

This article has been dead for over six months. Start a new discussion instead.
Be sure to adhere to our posting rules.