RE: Problem with PUT / POST and web forms

2008-09-18 Thread Jerome Louvel
Hi Rodrigo, Have you been through all tutorial parts, especially parts 11 and 12? http://www.restlet.org/documentation/1.1/tutorial#part11 There is nothing special about PUT or POST. Look at the Resource Javadocs for more information about the processing methods (acceptRepresentation and

RE: another question: how to configure resource priority

2008-09-18 Thread Jerome Louvel
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 --

bad experience with restlets

2008-09-18 Thread Alexei Sokolov
Well, I can't figure out how to do very simple things with restlets. I get NPE in RC1, I cannot configure restlets the way I want and wiki does not have anything useful on it. So much for breaking away from servlets. Sorry, but maybe when restlets reach v. 2.0 I will give it another try. Alex

Re: bad experience with restlets

2008-09-18 Thread Michael Terrington
Hi Alex, Sorry to hear of your bad experience but I have to speak up to defend Restlet. I've not seen a cleaner, easier to follow framework with so much flexibility before. I'm not sure how you were starting off, but I found that running standalone was the easiest to get going and understand.

Re: bad experience with restlets

2008-09-18 Thread Erik Beeson
I second Michael's thoughts. I looked at restlets half a dozen or so times over the past year or so before finally taking the plunge a couple of weeks ago. While I might not say it's the easiest framework I've ever used, it is very nice once you get the hang of it. It took a couple of days of