### Installing the servlet

File `w2x.war` may be easily installed in any servlet container implementing at least the Servlet 2.3 standard. Example of such servlet containers: Apache Tomcat, Jetty, Caucho Resin.

About Apache Tomcat version 10 and above

Beware that there is a major breaking change between latest versions of Apache Tomcat (>= 10) and older versions (<= 9). This is documented in this migration article.

To make a long story short, if you need to deploy the “Word To XML” servlet on Tomcat version 10+, then you first must create a `webapps-javaee/` folder next to `TOMCAT_INSTALL_DIR/webapps/` then copy `w2.war` to this `TOMCAT_INSTALL_DIR/webapps-javaee/`.

Though copying file `w2x.war` to the `webapps/` folder of the servlet container and then restarting the servlet container is generally sufficient to deploy the “Word To XML” servlet, please refer to the documentation your servlet container to learn about the best deployment procedure.

On Windows, the `.dll` files contained in `w2x_servlet_deployment_dir\WEB-INF\lib\` must be copied to a directory referenced by the `PATH` environment variable of the computer running the servlet.