peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
Delete everything. Never put that code in a jsp.
Have a class with a method that connects to the database, does whatever you want and returns the result. Call that method from the jsp.
javaAddict
Nearly a Senior Poster
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448