Re: [1.1.3] Tomcat + RestletFrameworkServlet mapping SpringBeanRouter to /

2009-04-09 Thread Paul Austin
t, leading to further routing issues. The only way >> we found to clean that is to force the client to redirect itself to >> the URI with a slash. However, it isn't something we should do >> automatically. >> >> BTW, there is a related RFE: >> >> "Improv

Re: [1.1.3] Tomcat + RestletFrameworkServlet mapping SpringBeanRouter to /

2009-04-08 Thread Rhett Sutphin
gt; Restlet ~ Founder and Lead developer ~ http://www.restlet.org > Noelios Technologies ~ Co-founder ~ http://www.noelios.com > > > > De : Paul Austin [mailto:mail-li...@revolsys.com] > Envoyé : mardi 7 avril 2009 21:58 > À : discuss@restlet.tigris.org > Objet : Re: [1.1.3] Tomc

Re: [1.1.3] Tomcat + RestletFrameworkServlet mapping SpringBeanRouter to /

2009-04-08 Thread Paul Austin
nder ~ http://www.noelios.com > > > > -- > *De :* Paul Austin [mailto:mail-li...@revolsys.com] > *Envoyé :* mardi 7 avril 2009 21:58 > *À :* discuss@restlet.tigris.org > *Objet :* Re: [1.1.3] Tomcat + RestletFrameworkServlet mapping > SpringBea

Re: [1.1.3] Tomcat + RestletFrameworkServlet mapping SpringBeanRouter to /

2009-04-08 Thread Paul Austin
gt; > -- > *De :* Paul Austin [mailto:mail-li...@revolsys.com] > *Envoyé :* mardi 7 avril 2009 21:58 > *À :* discuss@restlet.tigris.org > *Objet :* Re: [1.1.3] Tomcat + RestletFrameworkServlet mapping > SpringBeanRouter to / > > Here is a class

RE: [1.1.3] Tomcat + RestletFrameworkServlet mapping SpringBeanRouter to /

2009-04-08 Thread Jerome Louvel
ys.com] Envoyé : mardi 7 avril 2009 21:58 À : discuss@restlet.tigris.org Objet : Re: [1.1.3] Tomcat + RestletFrameworkServlet mapping SpringBeanRouter to / Here is a class which fixes the issue. Probably a better solution would be to change the Route class so that if the remainingPart is &

Re: [1.1.3] Tomcat + RestletFrameworkServlet mapping SpringBeanRouter to /

2009-04-07 Thread Paul Austin
Here is a class which fixes the issue. Probably a better solution would be to change the Route class so that if the remainingPart is "" it sets it to "/" before doing the regex matching. On a related note is it possible to force exact matching so that say /apps would be mapped but not /apps/xyz? p