public class RawSQLServlet extends FCBaseServlet
ConnectionMgr
currently installed in the fc.web.WebApp
ONLY install/use this servlet in a DEVELOPMENT environment. Since this servlet can be invoked as /servlet/fc.web.RawSQLServlet , and since it's often desirable to keep the /servlet mapping, this servlet expects another servlet init parameter called enable. This servlet will only run if this parameter is present and it's value is the string true.
Constructor and Description |
---|
RawSQLServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
void |
doPost(HttpServletRequest request,
HttpServletResponse response) |
void |
init(ServletConfig conf) |
destroy, getLog, stats, toString
service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public RawSQLServlet()
public void init(ServletConfig conf) throws ServletException
init
in interface Servlet
init
in class FCBaseServlet
ServletException
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
doGet
in class HttpServlet
ServletException
java.io.IOException
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
doPost
in class HttpServlet
ServletException
java.io.IOException