Could you please remove my email id from this mail chain ..... I think
its been included by mistake

Thanks

On 3 March 2011 01:54, Thierry Boileau <[email protected]> wrote:
> Hello Jason,
>
> there is a huge difference between the entity contained by a request and its
> URI. Actually, these notions are completely distinct.
> When posting a Web form, the Web browser "concatenates" all input field's
> names and values into a simple string of characters (it looks like a query)
> and send this string in the body of the POST request.
> In the Restlet framework, the following syntax: "public <return type>
> accept(Form form) { [...] }" allows to describe a java method that is able
> to handle requests having a body that is convertible to an instance of the
> "Form" class.
> This has nothing to do with the URI of the target resource.
> Just attach the resource with its own URI.
>
> Best regards,
> Thierry Boileau
>
>> Thank you for the response! Another follow up question to this. When I
>> route the URL to receive this form do I need to have an input variable? For
>> example do I need to have something like this:
>>
>> route.attache("/Route/{inputvariabe}", newInstance.class)
>>
>> or do I just need to route to my class like this:
>>
>> route.attach("/Route", newInstance.class)
>>
>> ------------------------------------------------------
>>
>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2708989
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2709167

Reply via email to