Hello Christophe,
oh, I see. I think you are running your server side using a servlet
container.
In this case, the configuration of the component is done with the
web.xml file : can you add the following line in the definition of the
servlet (see the javadocs for more details
http://www.restlet.org/documentation/2.0/jee/ext/org/restlet/ext/servlet/ServerServlet.html)?
<init-param>
<param-name>org.restlet.clients</param-name>
<param-value>HTTP</param-value>
</init-param>
Best regards,
Thierry Boileau
> Hi Thierry,
>
> Sorry for my late answer.
>
> 2/ By tracing requests, I have no more information :
> * using MODE_CLIENT_TEMPORARY, I can see a first request to
> http://localhost:8890/ScaDomain/components then redirected to
> http://localhost:8888/ScaDomain/components => it works
> * using MODE_CLIENT_DISPATCHER, I only see the first request to
> http://localhost:8890/ScaDomain/components followed by the server response:
> 404 Not Found
> I don't what to do to get the redirection working with
> MODE_CLIENT_DISPATCHER. Any idea?
>
> 3/ My class only extends Application. How can I get a reference to the
> Component?
>
> Regards,
> Christophe.
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2436311
>
>
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2436326