Hello,
If you want to pass data from an HTML page, you can POST a request via
a standard web form to the URI of the resource. As an illustration, and
as Justin previously said, have a look at this
http://www.restlet.org/documentation/1.1/firstResource#part03, and more
pecisely at the implementation of the "acceptRepresentation" method.
Il you want to invoke PUT or DELETE methods, just add the following to
the query part of the resource's URI: "method=put" or "method=delete". You can find more details
here http://www.restlet.org/documentation/1.1/faq#19.
Best
regards,
Thierry Boileau
--
Restlet
~ Core developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
Hi,
can any one please tell me how i can invoke a method of Restlet
from a JSP? my requirement is, i want to pass some values from a HTML
Form to a restlet resource? can any one give few details of this...
Thanks in advance.
On Sat, Nov 8, 2008 at 4:00 PM, Narayana S <[EMAIL PROTECTED]> wrote:
here....
the object is created in the Client program. what i am looking for is
from a html / jsp form i want to post the data to here... how could i
do this?
On Sat, Nov 8, 2008 at 3:38 PM, Justin
Stanczak (via Nabble) <[EMAIL PROTECTED]>
wrote:
On this page, see the "* Handle POST requests: create a new item."
part, that should help. As for the database, just start it with the
server and use thread safe call to get connection.
http://www.restlet.org/documentation/1.1/firstResource
Hi,
i want to create a simple web application , which takes values from
html form and stores them in database.
RESTlet allows this kind of pages? what is the best way to do so using
RESTlet?
--
View this message in context: http://n2.nabble.com/New-to-Restlet.-tp1473125p1473125.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
View this message in context: Re:
New to Restlet.
Sent from the Restlet
Discuss mailing list archive at Nabble.com.
|