Hello,

Yes, I know "Spring**" objects in the restlet API but I don't now how to use 
them with my current configuration (as she as described into the restlet wiki 
[http://wiki.restlet.org/community/164-restlet.html # Integration with Spring 
2.0 and Apache Tomcat 5.5 by Irfan Jamadar]):

-- 8< [ servicesContext.xml ] --------------
<bean id="manager" class="web.services.rest.impl.restlet.RestManager">
                <property name="resourceMappings">
                        <map>           
                                <entry key="/form" 
value="web.services.rest.impl.restlet.resources.FormsResource" />
                                <entry key="/form/{id}" 
value="web.services.rest.impl.restlet.resources.FormResource" />
                         </map>
                </property>
        </bean>

-- 8 < [ web.xml ] -------------------------
<context-param>
                <param-name>org.restlet.application</param-name>
                
<param-value>web.services.rest.impl.restlet.RestApplication</param-value>
        </context-param>
        <servlet>
                <servlet-name>RestServlet</servlet-name>
                
<servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
        </servlet>
        <servlet-mapping>
                <servlet-name>RestServlet</servlet-name>
                <url-pattern>/services/*</url-pattern>
        </servlet-mapping>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2381246

Reply via email to