Re: Handling HEAD requests

2010-03-08 Thread Thierry Boileau
Hello Fabian, I've entered an issue for this topic: http://restlet.tigris.org/issues/show_bug.cgi?id=1057 Best regards, Thierry Boileau > Hello there, > > I've noticed (Restlet 2.0snapshot from 2010-02-19 IIRC) that there's > no @Head annotation to handle HEAD requests. The method annotated wit

Design for large Response body with FreeMarker

2010-03-08 Thread Dustin Nicholas Jenkins
In researching how to Stream out large amounts of data, such as a big result set from a Search Result, I've noticed that it's something that's actually encouraged, which I hadn't thought of before as I always thought it was weird to see a page load a little bit at a time. My question is whether

Re: Same Origin Policy?

2010-03-08 Thread Thierry Boileau
Hello mm, you may have a look here http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_for_json_mashups.html Best regards, Thierry Boileau > Hi Thierry, > > Thank you very much for your answer. > Does anyone perhaps know a GWT client plug-in/extension that does not need > any server s

Re: Resource.getAllowedMethods

2010-03-08 Thread Thierry Boileau
Hello Kirk, I've just tried with the current snapshot, and this works, as soon as the "updateAllowedMethods" method is called. By default, the latter method is called in case of 405 response (in order to set the "Allow" header), or when handling options request. Regarding the need of getting t

Re: Beginner problems

2010-03-08 Thread Thierry Boileau
Hello Csaba, you can define some properties on the Directory instance, such as setting the name of the "index", if the directory is deeply accessible, etc. : http://www.restlet.org/documentation/1.1/api/org/restlet/Directory.html Best regards, Thierry Boileau > Ah it works, thank you! After th

Re: Beginner problems

2010-03-08 Thread Gajo Csaba
Ah it works, thank you! After this I had an Access denied problem, which I solved with setting Tomcat's security manager to off (couldn't figure out how to grant AllPermission to the application, I've tried adding all the JAR files and the whole directory, but it wouldn't help). Now it seems to

Re: Redirector not normalizing URIs

2010-03-08 Thread Thierry Boileau
Hello tal, this is a good question, I've just entered an issue for that : http://restlet.tigris.org/issues/show_bug.cgi?id=1056. best regards, Thierry Boileau > This may be intended behavior, but it seems strange to me. Is it a bug? > > > The Redirector does not "normalize" the target URI. For

Re: Beginner problems

2010-03-08 Thread Thierry Boileau
Hello Csaba, the answer to your first question is in the Servlet extension (and more precisely in the javadocs of the servlet adapter [0]). I agree this point is not well documented, and I'm not sure if the log trace could help in Restlet 1.1 (in Restlet 2.0, you will get a more precise trace).

Beginner problems

2010-03-08 Thread Gajo Csaba
Hello, I've jsut downloaded Restlet and I'm trying to create a simple application that displays the contents of a directory. I have Tomcat running, I've created a war file which contains the 3 JARs that are said to be required in the tutorial [1], and the source code of my application is as fo

RE: rest practice : how do you "join" linked resources from 2 providers ?

2010-03-08 Thread Jerome Louvel
Hi Dominique, Welcome in this list! I agree with Nina, this is a perfect use case for the semantic web which offers to view the web as a distributed database. Then RDF and SPARQL can be good friends. However, there will be performance drawbacks for the “web join” to happen. There are devel