| com.jcorporate.expresso.core.servlet.StdServlet com.jcorporate.expresso.core.servlet.DBServlet
All known Subclasses: com.jcorporate.expresso.core.servlet.Test, com.jcorporate.expresso.core.servlet.viewhandler.ViewHandler, com.jcorporate.expresso.core.servlet.InitServlet, com.jcorporate.expresso.services.servlet.DBCreate, com.jcorporate.expresso.core.servlet.PathHandler,
DBServlet | abstract public class DBServlet extends StdServlet (Code) | | A Servlet set up to have access to a relational database from the
server side.
This is a base class for all database maintenance and reporting servlets
author: Michael Nash |
destroy | public void destroy()(Code) | | Implemented for when the context is unloaded.
|
getDBName | protected String getDBName(HttpServletRequest request)(Code) | | Return the "alternate" database name, if one is set. Else return an empty string
Parameters: request - The servlet request The name of the specified alternate database |
setDBName | protected void setDBName(String newDBName, HttpServletRequest req) throws ServletException(Code) | | Set the "alternate" database name
Parameters: newDBName - The new data context to set the session for Parameters: req - the servlet request object |
setSkipLogin | public void setSkipLogin(boolean newSkip)(Code) | | Parameters: newSkip - set to true if you want login processing skipped |
Methods inherited from com.jcorporate.expresso.core.servlet.StdServlet | public void destroy()(Code)(Java Doc) public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)(Java Doc) public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException(Code)(Java Doc) protected String getSchema()(Code)(Java Doc) protected String getServerName(HttpServletRequest request)(Code)(Java Doc) public int getServerPort(HttpServletRequest request)(Code)(Java Doc) public String getServletPrefix(HttpServletRequest request) throws ServletException(Code)(Java Doc) public String getServletPrefix(HttpServletRequest request, String servlet) throws ServletException(Code)(Java Doc) public String getString(HttpServletRequest req, String stringCode, Object[] args) throws ServletException(Code)(Java Doc) public String getString(HttpServletRequest req, String stringCode) throws ServletException(Code)(Java Doc) public String getTitle()(Code)(Java Doc) protected void handleParam(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc) public void init(ServletConfig sc) throws ServletException(Code)(Java Doc) protected void setSchema(String schemaClass)(Code)(Java Doc) protected void showError(String errorMessage, HttpServletRequest request, HttpServletResponse response) throws ServletException(Code)(Java Doc) protected void showError(Throwable t, HttpServletRequest request, HttpServletResponse response) throws ServletException(Code)(Java Doc)
|
|
|