Shoukry,
If you are building with OpenLaszlo, then that is correct, it will only
send the query string as values in the request body.
There are two solutions:
Either set a request header and build your own HTTP Header Tunnel Filter
and look for a specific method. You can look at the base
Surjendu,
By default, Restlet does not handle the multi-part form request, so you
will need to use some form of multi-part form handling library to do
this. The file upload library that is most commonly used, and the one
used by RestletFileUpload, is the Apache commons-fileupload library.
Make
Ted,
You do not want to duplicate the servlet mappings with Router URL
attachments, as that will only work with double URLs. So in your
example your URL would have to be:
http://localhost/testServlet/dog/testServlet/dog
This is assuming that you are installing your webapp under /ROOT (for
If you read the stream from the representation, or call getText(), then the
stream will be consumed and there will be no more data to read.
This is also true if you debug a POST on the server side, and call getText().
Your debugger will consume the stream and no more data will be available to
With that being said, there is a way to get to it but it makes your
application have a hard dependency on the Servlet adapter provided by
Restlet.
final Context context = ...;
final ServletContextAdapter servletContextAdapter =
(ServletContextAdapter) context;
final
.
One highly undesirable feature, though, is that it will be
recorded in
logfiles, which are generally not treated with care.
- Original Message -
From: Mitch Stewart [EMAIL PROTECTED]
To: discuss@restlet.tigris.org
Sent: Tuesday, October 2, 2007 3:02:49 PM (GMT-0500)
America
Alex,
I found your site from the restlet.org site and I am definitely
interested in this API. Does your implementation support XMPP over HTTP?
We have considered using XMPP for getting access to behind the
firewall services as well...but there are cases where even normal
outbound ports besides
I'm going to answer my own question after fully reading your website.
It DOES support XMPP over HTTP. :)
This looks great, I'll have to play with it.
Thanks!
Mitch
-Original Message-
From: Mitch Stewart [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 25, 2007 2:30 PM
Regis,
We've used the cookie feature in both Jetty and Tomcat (version 5.5.23).
While testing, we found that if the cookie information was not set
correctly, then the cookies would not be sent back to the server because
of browser security implementations. Here are some things which
prevented us
You have it now, the browser will only send cookies back that match the
domain you are requesting. You will not need to set domain/path if you
are creating cookies in the restlet code as long as you hit the right
domain in the browser.
Mitch
but if you try with
I just wanted to clarify something with the new Maven POM files.
In the org.restlet.ext.json_2.0.pom file, there are no dependencies, but
it looks like it should include the org.json.jar file. If you intend on
using JSON + Restlet + Maven2 you will probably have to install the
org.json.jar file
Hi Ryan,
I think this was attempted awhile ago, Jerome actually tried to move the
entire build process to Maven2 but I don't think it fit well and he
ended up reverting back to Ant. I use Maven2 myself, so whenever a new
release comes out I just have a series of basic poms that I edit and
deploy
: RE: RE: POSTing dynamic Representations
Hi Mitch,
My turn to have a Aha! moment ;-) It's a rather major bug that you found here.
I will fix it today and release a new snapshot.
Best regards,
Jerome
-Message d'origine-
De : Mitch Stewart [mailto:[EMAIL PROTECTED] Envoyé : vendredi
to 0 means that
there is no content in the representation which is not true in your case.
Best regards,
Jerome
-Message d'origine-
De : Mitch Stewart [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 22 novembre 2006 22:19
À : discuss@restlet.tigris.org
Objet : POSTing dynamic
I'm using the Restlet HTTP client implementation to post a dynamic
Representation to my Restlet server implementation, however it doesn't look
like my data is getting written to the HTTP stream. I might be missing
something critical, but I've been able to understand the API so far. :) My
15 matches
Mail list logo