Hi Dave, 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.
Best regards, Jerome > -----Message d'origine----- > De : Dave Pawson [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 9 novembre 2006 14:23 > À : [email protected] > Objet : POST? > > I'm now happily serving basic HTML pages. > > I need to gather information from a user, e.g. a file name(s). > Normally I'd use POST and some java/perl to handle the response. > > How do I do this using restlets please? > > > <form method="post" > action="/upload" > name="form" > enctype="application/x-www-form-urlencoded" > > > <input type="file" > name="title" > id="title" > size="25" > maxlength="254" value=""> <br /> > <input type="submit" value="Submit..."/> > </form> > > I.e. I want to put *something* at <base>/upload which can pick up > the posted content (and get the uploaded file) > > TIA > > -- > Dave Pawson > XSLT XSL-FO FAQ. > http://www.dpawson.co.uk

