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
storeRepresentation).

Best regards,
Jérôme Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-----Message d'origine-----
De : Rodrigo K. [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 18 septembre 2008 03:28
À : discuss@restlet.tigris.org
Objet : RE: Problem with PUT / POST and web forms

Thank's Jérôme, but this example does not use Router or Resources. 
I have a JSP that does submit a form for the service REST using Router and
Resources.

"I can't understand" how to use Router and Resources with webform (JSP/HTML)
PUT and POST method.


Regards,
Rodrigo Kieffer

Wed, 17 Sep 2008 14:59:33 +0200, "Jerome Louvel" <[EMAIL PROTECTED]>
escreveu:

> Hi Rodrigo,
> 
> Could you check the sample code provided in the Restlet distribution? See
> especially:
>  - org.restlet.example.misc.SimpleClient
>  - org.restlet.example.misc.SimpleServer
> 
> Best regards,
> Jérôme Louvel
> --
> Restlet ~ Founder and Lead developer ~ http://www.restlet.org
> Noelios Technologies ~ Co-founder ~ http://www.noelios.com
> 
> 
> -----Message d'origine-----
> De : Rodrigo K. [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 11 septembre 2008 01:04
> À : discuss@restlet.tigris.org
> Objet : Problem with PUT / POST and web forms
> 
> Hi, 
> 
> I'm having trouble making a PUT / POST a data 
> sent a web form, could please post a 
> example of how to do? 
> 
> I'm using Restlet 1.0.10.
> 
> Thank's,
> Rodrigo Kieffer
> 
> PS: Sorry for my English (Google Translator).
> 
> 
> 
> 
> 
> 

Reply via email to