On 09/11/06, Jerome Louvel <[EMAIL PROTECTED]> wrote:
In order to process a POSTed form, just do a request.getEntityAsForm() in the "handlePost()" method of your Handler subclass. Of course you need to route your "/upload" URI to your Handler.
Thanks Jerome. I think this sums up my lack of understanding of restlets. The mix of Java and design patterns (I think you use the decorator pattern quite extensively?) is enough to make it hard for the REST of us :-) In terms of explaining this I could suggest two options. A 'dummies guide to restlets' approach. You want to do this, program it like this. (will never be complete IMHO) Some way of describing the diagram at the bottom of the tutorial page in terms of design patterns or functionality, possibly with some kind of example. You have used the notation of REST, which is not clear to many people (see the REST discuss list for more on that!) for most of restlets. How can this be 'translated/made easier/applied' or something, to enable the REST of us to understand restlets more easily? And yes, if I understand it, I will help write something. I hope others on the list (with more understanding than I) will help too? regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

