ch.uzh.ifi.attempto.acewiki
Class AceWikiServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by nextapp.echo2.webrender.WebRenderServlet
              extended by nextapp.echo2.webcontainer.WebContainerServlet
                  extended by ch.uzh.ifi.attempto.acewiki.AceWikiServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class AceWikiServlet
extends nextapp.echo2.webcontainer.WebContainerServlet

This servlet class is used by the web server to start AceWiki. In order to run the AceWiki servlet, a web application archive (WAR) file has to be created. See the README file of the Attempto Java Packages and the web.xml example file.

SWI Prolog needs to be installed on the server and you need to have a compiled version of the Attempto APE distribution. See the documentation of APELocal for more information.

Author:
Tobias Kuhn
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class nextapp.echo2.webrender.WebRenderServlet
nextapp.echo2.webrender.WebRenderServlet.MultipartRequestWrapper
 
Field Summary
 
Fields inherited from class nextapp.echo2.webrender.WebRenderServlet
DISABLE_CACHING, SERVICE_ID_DEFAULT, SERVICE_ID_NEW_INSTANCE, SERVICE_ID_PARAMETER, SERVICE_ID_SESSION_EXPIRED
 
Constructor Summary
AceWikiServlet()
          Creates a new AceWiki servlet object.
 
Method Summary
 nextapp.echo2.app.ApplicationInstance newApplicationInstance()
           
protected  void process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class nextapp.echo2.webrender.WebRenderServlet
doGet, doPost, getActiveConnection, getMultipartRequestWrapper, getServiceRegistry, setMultipartRequestWrapper
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
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
 

Constructor Detail

AceWikiServlet

public AceWikiServlet()
Creates a new AceWiki servlet object.

Method Detail

newApplicationInstance

public nextapp.echo2.app.ApplicationInstance newApplicationInstance()
Specified by:
newApplicationInstance in class nextapp.echo2.webcontainer.WebContainerServlet

process

protected void process(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws java.io.IOException,
                       javax.servlet.ServletException
Overrides:
process in class nextapp.echo2.webrender.WebRenderServlet
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright 2008-2009, Attempto Group, University of Zurich (see http://attempto.ifi.uzh.ch)