Re: firstResource example problem

2009-04-14 Thread Thierry Boileau
Hello hudarsono and hnilsen, as said by hnilsen (and the firstSteps tutorial), the 3 mentionned jars must be added the the directory of librairies. We can be more precise and refer to "/WEB-INF/lib". Docs are updated. Best regards, Thierry Boileau > Dear all, > > I just starting to learn restl

Try get Redirector working in GAE

2009-04-14 Thread Ken Huang
I try to redirect my request from my GAE application to another server, I found it might work with Redirector.MODE_DISPACTHER, Here is the example code I used: GWT client code: final Client client = new Client(Protocol.HTTP); Form form = new Form

Try to get Redirector working in GAE

2009-04-14 Thread Ken Huang
I try to redirect my request from my GAE application to another server, I found it might work with Redirector.MODE_DISPACTHER, Here is the example code I used: GWT client code: final Client client = new Client(Protocol.HTTP); Form form = new Form();

RE: Spring restlet configuration

2009-04-14 Thread webpost
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

RE: Redirector: HTTP request to HTTPS request

2009-04-14 Thread webpost
Hi Jerome Yes, I was able to solve this. It was entirely my fault :( I forgot to add libraries for the HTTPS client. RESTlet even printed an error message which my eyes refused to see ;) -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId

RE: Try to get Redirector working in GAE

2009-04-14 Thread Jerome Louvel
Hi Ken, Sorry, this is a regression due to packages refactoring, I've uploaded a new JAR on the wiki page: http://wiki.restlet.org/docs_1.2/13-restlet/252-restlet.html Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~

Re: Spring restlet configuration

2009-04-14 Thread Rhett Sutphin
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/loca

Re: SpringBeanRouter

2009-04-14 Thread Rhett Sutphin
Hi Jim, On Apr 14, 2009, at 1:57 AM, Jim Alateras wrote: > Rhett, > > Thanks for the quick turnaround and suggestions > > > On 14/04/2009, at 2:19 PM, Rhett Sutphin wrote: > >> Hi Jim, >> >> On Apr 13, 2009, at 7:56 PM, Jim Alateras wrote: >> >>> I am currently using s custom class to attach rout

Re: SpringBeanRouter

2009-04-14 Thread Dustin N. Jenkins
Further to this, I have a couple of resources that are mapped to a Guard, or another Router. router.attach("/webappcontext/auth", new Guard(getContext(), nextRestlet)); I'm having trouble mapping that too. Is the rule of thumb usually to override something that is not quite working yet, like t

RE: Scripted Restlet - Demo Distribution

2009-04-14 Thread Jerome Louvel
Hi all, Thanks Tal for preparing this demo distribution of the "org.restlet.ext.script" extension. You have put a huge amount of work and energy in this effort, so we need to give you proper feed-back and make sure that this effort is both well understood by the Restlet community and goes in the

Re: Scripted Restlet - Demo Distribution

2009-04-14 Thread Tal Liron
Thanks for the intro, Jerome. I just want to comment that Scripturian svn now has support for Velocity, so it's trivial to embed Velocity templates, and even to mix them with other scripting languages (especially because of the nice "in-flow" tag). I've also added support for JUEL, which is a