You must implement your servlet by extending the IBMWorkplaceFormsServerServlet
class, which is provided as part of Webform Server. The IBMWorkplaceFormsServerServlet
class is an extension of the standard HTTP servlet class defined in javax.servlet.http.HttpServlet
. As such, it inherits the methods defined for an HTTP servlet, and you are free to use or overwrite these methods.
Do not overwrite the service
method. This method is used exclusively by the IBMWorkplaceFormsServerServlet
In addition, the IBMWorkplaceFormsServerServlet
class provides a collection of custom methods to assist you in writing your servlet. These methods provide form-related functionality, such as setting the response type to XFDL or HTML, determining whether the client has the Viewer installed, and so on.
For more information about the IBMWorkplaceFormsServerServlet
class and its methods, refer to the ../com.ibm.form.webform.api.doc/index.html.
A sample servlet is also provided with Webform Server, including the source code used to implement the servlet. For more information, refer to Samples - Webform Server
Parent topic: Creating a Servlet