public class JNDITest extends HttpServlet
| Constructor and Description |
|---|
JNDITest() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
void |
doPost(HttpServletRequest request,
HttpServletResponse response) |
void |
init(ServletConfig config) |
void |
setMyDatasource(DataSource ds) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicegetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic void setMyDatasource(DataSource ds)
public void init(ServletConfig config) throws ServletException
init in interface Servletinit in class GenericServletServletExceptionpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost in class HttpServletServletExceptionIOExceptionpublic void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet in class HttpServletServletExceptionIOExceptionpublic void destroy()
destroy in interface Servletdestroy in class GenericServletCopyright © 1995-2015 Webtide. All Rights Reserved.