Hi, On Apr 13, 2009, at 5:06 PM, webp...@tigris.org wrote:
> Forgot to attach the app log, the line "INFO: Routes: /sample/ > locations" it's added by me and actually checks that the router used > by the application contains a route for "/sample/locations", the > request is for "/sample/locaions" but still getting a 404 > > > [INFO] Started Jetty Server > 13-abr-2009 23:52:41 > com.yoolab.geolocalization.restlet.GeolocalizationApplication > createRoot > INFO: Routes: 2 > 13-abr-2009 23:52:41 > com.yoolab.geolocalization.restlet.GeolocalizationApplication > createRoot > INFO: Routes: /sample/locations > 2009-04-13 23:52:41.957:/sample:INFO: SpringServerServlet: [Noelios > Restlet Engine] - Attaching application: > com.yoolab.geolocalization.restlet.Geoloca > lizationapplicat...@17f5b38e to URI: /sample > 13-abr-2009 23:52:41 com.noelios.restlet.LogFilter afterHandle > INFO: 2009-04-13 23:52:41 127.0.0.1 - > 127.0.0.1 8080 > GET /sample/locations - 404 330 - 0 > http://localhost:8080 Mozilla/5.0 (Windows; U; Windows NT 6.0; es- > ES; rv:1.9.0.8) G > ecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729) - A guess: from the log it appears that your Application is mounted at / sample. If you have a route within that application that is attached to /sample/location, I think that the effective URI for that resource would be /sample/sample/location. Rhett ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1710877