com.dyuproject.web.rest
Class JSPDispatcher
java.lang.Object
com.dyuproject.web.rest.AbstractLifeCycle
com.dyuproject.web.rest.JSPDispatcher
- All Implemented Interfaces:
- LifeCycle, ViewDispatcher
public final class JSPDispatcher
- extends AbstractLifeCycle
- implements ViewDispatcher
Efficiently dispatches to the jsp servlet.
- Author:
- David Yu
- Date created:
- May 16, 2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSP
public static final String JSP
DEFAULT_BASE_DIR
public static final String DEFAULT_BASE_DIR
- See Also:
- Constant Field Values
DEFAULT_FILE_EXTENSION
public static final String DEFAULT_FILE_EXTENSION
- See Also:
- Constant Field Values
JSPDispatcher
public JSPDispatcher()
getFileExtension
public String getFileExtension()
init
protected void init()
- Specified by:
init
in class AbstractLifeCycle
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 © 2008-2013. All Rights Reserved.