Normal operation of Webform Server assumes that there are two form-related actions the user might take:
- The user requests a form from the servlet. This is generally a standard GET action that is triggered by clicking a link on a Web page.
- The user submits a completed form to the servlet through a POST action. This may be either an XFDL form or a form that was previously translated into HTML.
In either case, the request is processed through a combination of functionality that is provided by the IBMWorkplaceFormsServerServlet
class and code that you write while extending the servlet. Furthermore, the IBMWorkplaceFormsServerServlet
class is designed to ignore requests that do not involve XFDL forms. This means that all other operations will fall through the Framework to your custom code.
In general, you must implement a doGet
method within your servlet to handle the expected form-related scenarios.
The doGet methodParent topic: Creating a Servlet
You use the servlet's doGet
method to process a request for an XFDL form.
The doPost method
You use the Servlet's doPost
method to process a submitted XFDL form. Processing may include saving the form to disk, archiving the form to a database, or sending the form to the next stage of a workflow.