Install Crispy REST

Install description:

  • Copy the Crispy, commons-httpclient and commons-logging libraries in the WEB-INF/lib directory.
  • To install the Crispy REST implementation you must register the RestServlet in the web.xml file from the web application.

  1. Register the REST-Servlet:
    <servlet>	
    	<servlet-name>rest-crispy-servlet</servlet-name>
    	<display-name>REST Crispy Servlet</display-name>
    	<description>A servlet to communicate with REST technology</description>
    	<servlet-class>net.sf.crispy.impl.rest.RestServlet</servlet-class>
    </servlet>
    	
  2. Mapping the REST-Servlet:
    <servlet-mapping>
    	<servlet-name>rest-crispy-servlet</servlet-name>
    	<url-pattern>/rest/*</url-pattern>
    </servlet-mapping>