### Configuring the servlet

The “Word To XML” servlet is configured by specifying a number of `init-param` parameters. These parameters are found in `WEB-INF/web.xml`, where folder `WEB-INF/` is contained in `w2x.war`.

All these `init-param` parameters are documented in `web.xml`. Example, parameter `workDir`:

    <!-- workDir =============================================================
         Uploaded files and files generated during the conversion process
         are stored in temporary subdirectories of this directory.
         If specified directory does not exist, it will be created.

         Value: this directory and its contents must be readable and writable
         by the operating system account used to run the Word To XML servlet.

         Default: dynamic; supplied by the Servlet Container.
    ====================================================================== -->

    <init-param>
      <param-name>workDir</param-name><param-value></param-value>
    </init-param>