com.dyuproject.web.rest
Class JSPDispatcher
java.lang.Object
com.dyuproject.web.rest.JSPDispatcher
- All Implemented Interfaces:
- ViewDispatcher
public class JSPDispatcher
- extends Object
- implements ViewDispatcher
Efficiently dispatches to the jsp servlet.
- Author:
- David Yu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSP
public static final String JSP
- See Also:
- Constant Field Values
DEFAULT_BASE_DIR
public static final String DEFAULT_BASE_DIR
- See Also:
- Constant Field Values
JSPDispatcher
public JSPDispatcher()
init
public void init(WebContext context)
- Specified by:
init
in interface ViewDispatcher
dispatch
public void dispatch(String uri,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Specified by:
dispatch
in interface ViewDispatcher
- Throws:
ServletException
IOException
setBaseDir
public void setBaseDir(String baseDir)
Copyright © 2013. All Rights Reserved.