12.12.2. Enable the RESTEasy JavaScript API Servlet


The RESTEasy JavaScript API is not enabled by default. Follow these steps to enable it using the web.xml file.

Procedure 12.6. Edit web.xml to enable RESTEasy JavaScript API

  1. Open the web.xml file of the application in a text editor.
  2. Add the following configuration to the file, inside the web-app tags:
        <servlet-name>RESTEasy JSAPI</servlet-name>
        <servlet-name>RESTEasy JSAPI</servlet-name>