summaryrefslogtreecommitdiff
path: root/web/WEB-INF
diff options
context:
space:
mode:
Diffstat (limited to 'web/WEB-INF')
-rw-r--r--web/WEB-INF/restlet.xml20
-rw-r--r--web/WEB-INF/web.xml4
2 files changed, 4 insertions, 20 deletions
diff --git a/web/WEB-INF/restlet.xml b/web/WEB-INF/restlet.xml
deleted file mode 100644
index 67ee36d..0000000
--- a/web/WEB-INF/restlet.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<component xmlns="http://www.restlet.org/schemas/2.0/Component">
- <client protocol="FILE" />
- <client protocol="HTTP" />
- <client protocol="HTTPS" />
- <server protocols="HTTP HTTPS" />
-
- <defaultHost>
- <attach uripattern="/images" targetDescriptor="war:///images" />
- <attach uripattern="/scripts" targetDescriptor="war:///scripts" />
- <attach uripattern="/style.css" targetDescriptor="war:///style.css" />
- <attach uripattern="/favicon.ico" targetDescriptor="war:///favicon.ico" />
- <attach uriPattern="" targetClass="com.p4square.grow.frontend.GrowFrontend" />
- </defaultHost>
-
- <internalRouter>
- <attach uriPattern="/backend"
- targetClass="com.p4square.grow.backend.GrowBackend" />
- </internalRouter>
-</component>
diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml
index 758b004..4b85bde 100644
--- a/web/WEB-INF/web.xml
+++ b/web/WEB-INF/web.xml
@@ -14,6 +14,10 @@
<servlet-class>
org.restlet.ext.servlet.ServerServlet
</servlet-class>
+ <init-param>
+ <param-name>org.restlet.component</param-name>
+ <param-value>com.p4square.grow.GrowProcessComponent</param-value>
+ </init-param>
</servlet>
<!-- Catch all requests -->