com.j2biz.blogunity.web.servlet
Class DefaultControllerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.j2biz.blogunity.web.servlet.DefaultControllerServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- ActionControllerServlet, SecureActionControllerServlet
- public class DefaultControllerServlet
- extends HttpServlet
- 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 |
DefaultControllerServlet
public DefaultControllerServlet()
doGet
protected void doGet(HttpServletRequest arg0,
HttpServletResponse arg1)
throws ServletException,
IOException
- Throws:
ServletException
IOException
doPost
protected void doPost(HttpServletRequest arg0,
HttpServletResponse arg1)
throws ServletException,
IOException
- Throws:
ServletException
IOException
process
protected void process(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
preExecute
protected void preExecute(HttpServletRequest request,
HttpServletResponse response)
throws BlogunityException
- Throws:
BlogunityException
postExecute
protected void postExecute(HttpServletRequest request,
HttpServletResponse response)
throws BlogunityException
- Throws:
BlogunityException
getActionClass
protected String getActionClass(String actionName)
throws BlogunityException
- Returns name of the action-class for the requested action.
- Parameters:
actionName
-
- Returns:
-
- Throws:
BlogunityException
getActionNameFromRequest
protected String getActionNameFromRequest(HttpServletRequest request)
throws BlogunityException
- Returns name of the requested action parsed from url.
- Parameters:
request
-
- Returns:
-
- Throws:
BlogunityException
Copyright (c)j2biz.com