Hi Sheshakiran, You have subscribed yourself to post a question related to Grizzly in the past: http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1577917
It would have been nice from you to unsubscribe yourself as well instead of polluting the list. Anyway, I have removed you from the list. Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org Noelios Technologies ~ http://www.noelios.com -----Message d'origine----- De : Sheshakiran [mailto:[email protected]] Envoyé : jeudi 3 mars 2011 06:38 À : [email protected] Cc : Thierry Boileau Objet : Re: Re: Receive Multi Line Text in Form post 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&dsMessageI >> d=2708989 > > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2709167 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2709198

