org.ow2.jonas.tests.applications.connectionsleaks
Class ConnectionLeakServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.ow2.jonas.tests.applications.connectionsleaks.ConnectionLeakServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class ConnectionLeakServlet
- extends HttpServlet
This class is getting a JDBC connection and forgot to close the SQL Connection
- Author:
- Florent Benoit
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionLeakServlet
public ConnectionLeakServlet()
doGet
protected void doGet(HttpServletRequest req,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException
Copyright © 2010 OW2 Consortium. All Rights Reserved.