Originally posted by Jeanne Boyarsky: Another recommendation is not to put JDBC in a JSP. It is cleaner to put it in a servlet and then forward to a JSP.
it is also not recommended that put your jdbc code in your servlet. servlet should be used for request/response instead. put your jdbc stuff in some regular java class.