I wouldn't recommend opening database connections in the JSP itself, I think it would be better to create classes that handle that and then instantiate those classes as needed in the JSP.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.