com.filenet.wcm.toolkit.server.servlet
Class LaunchServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.filenet.wcm.toolkit.server.servlet.LaunchServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public abstract class LaunchServlet
extends javax.servlet.http.HttpServlet

LaunchServlet is a servlet for launching a workflow or a workflow subscription.

Servlet Configuration in WEB-INF/web.xml:
    <servlet>
        <servlet-name>launch</servlet-name>
        <servlet-class>com.filenet.wcm.toolkit.server.servlet.LaunchServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>launch</servlet-name>
        <url-pattern>/launch/*</url-pattern>
    </servlet-mapping>


See Also:
Serialized Form

Constructor Summary
LaunchServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected abstract  WcmController getController()
           
protected  void renderException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Exception e)
          Helper method to render an error page if an exception was thrown
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, 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

LaunchServlet

public LaunchServlet()
Method Detail

getController

protected abstract WcmController getController()

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

renderException

protected void renderException(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               java.lang.Exception e)
Helper method to render an error page if an exception was thrown



© Copyright IBM Corp. 2002, 2007. All Rights Reserved.