Hi Alex,
 
Routers having different routing modes, BEST is the default. You could try
using FIRST mode instead, making sure that "/" is attached last. 
 
Alternatively, you could attach you Directory as the default target, using
the Router#attachDefault() method.
 
Best regards,
Jérôme Louvel
--
Restlet ~ Founder and Lead developer ~  <http://www.restlet.org/>
http://www.restlet.org
Noelios Technologies ~ Co-founder ~  <http://www.noelios.com/>
http://www.noelios.com

  _____  

De : Alexei Sokolov [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 18 septembre 2008 08:36
À : [email protected]
Objet : another question: how to configure resource priority


Hello, 

I could not find the answer to this question: how do I configure resource
priority?

Suppose I have a Restlet which serves url "/doSomething". How do I configure
my application to serve that url using configured Restlet and map "/*" to
serve static content from some directory on filesystem?

Thanks,
Alex

Reply via email to