Created
August 12, 2011 06:36
-
-
Save ansell/1141581 to your computer and use it in GitHub Desktop.
Restlet web.xml skeleton
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Application class name --> | |
<context-param> | |
<param-name>org.restlet.application</param-name> | |
<param-value> | |
mypackage.WebSiteApplication | |
</param-value> | |
</context-param> | |
<!-- Restlet adapter --> | |
<servlet> | |
<servlet-name>RestletServlet</servlet-name> | |
<servlet-class> | |
org.restlet.ext.servlet.ServerServlet | |
</servlet-class> | |
<init-param> | |
<param-name>org.restlet.clients</param-name> | |
<param-value>HTTP HTTPS CLAP</param-value> | |
</init-param> | |
</servlet> | |
<!-- Catch all requests --> | |
<servlet-mapping> | |
<servlet-name>RestletServlet</servlet-name> | |
<url-pattern>/*</url-pattern> | |
</servlet-mapping> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment