consciouscode.seedling.wiki
Class WikiServlet
java.lang.Object
consciouscode.seedling.tree.GenericNode
consciouscode.seedling.wiki.WikiServlet
- All Implemented Interfaces:
- LocatableNode, javax.servlet.Servlet
public class WikiServlet
- extends GenericNode
- implements javax.servlet.Servlet
A ridiculously primitive Wiki servlet.
This servlet will not function properly if installed as the "default
servlet" at path "/", since it will not be able to determine where
the servlet-part of the URL ends.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiServlet
public WikiServlet()
setRenderDebug
public void setRenderDebug(boolean renderDebug)
setStateDirectory
public void setStateDirectory(String path)
- Parameters:
path - must be a directory; will be created if it doesn't exist.
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Servlet
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfig in interface javax.servlet.Servlet
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo in interface javax.servlet.Servlet
init
public void init(javax.servlet.ServletConfig arg0)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
IOException
- Specified by:
service in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2001–2012
Todd V. Jonker. All Rights Reserved.