| biz.hammurapi.web.StylingServlet biz.hammurapi.web.DispatchingServlet biz.hammurapi.web.ActionServlet
ActionServlet | public class ActionServlet extends DispatchingServlet (Code) | | Action servlet invokes action methods. Action method is any method which takes 3 parameters:
HttpServletRequest, HttpServletResponse, ActionServlet or 2 parameters HttpServletRequest, HttpServletResponse
Return value of action method is processed in the following way:
a) If it is instance of Forward then forward is performed
b) If it is instance of String then it is gets written to response output stream.
c) Otherwise it is XML-ized and then styled.
|
styleSeparatorPosition | protected int styleSeparatorPosition()(Code) | | Position of "/" in the servlet path info which separates action name from style info. |
Methods inherited from biz.hammurapi.web.DispatchingServlet | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException(Code)(Java Doc) protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException(Code)(Java Doc) public String executeAction(String pathInfo, Context ctx) throws ServletException, IOException(Code)(Java Doc) abstract protected Object getActionInstance(String path) throws HammurapiWebException(Code)(Java Doc) abstract protected String getActionName(String path) throws HammurapiWebException(Code)(Java Doc) protected CompositeDomSerializer getDomSerializer()(Code)(Java Doc) public void init(ServletConfig config) throws ServletException(Code)(Java Doc) protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)(Java Doc) public void style(Object ret, String styleName, HttpServletRequest request, HttpServletResponse response) throws ParserConfigurationException, FactoryConfigurationError, ServletException(Code)(Java Doc) public void style(Object ret, String styleName, Context context, Result result) throws ParserConfigurationException, HammurapiWebException(Code)(Java Doc) abstract protected int styleSeparatorPosition()(Code)(Java Doc) protected void verifyMethod(Method method) throws HammurapiWebException(Code)(Java Doc)
|
|
|