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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init(javax.servlet.ServletConfig conf) |
destroy, getLog, stats, toString
public RawSQLServlet()
public void init(javax.servlet.ServletConfig conf) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class FCBaseServlet
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException