RE: Re: Using Tunneling Service and tunneling filter

2008-07-22 Thread Mitch Stewart
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

RE: Send and Parse Attachment using Restlet

2008-04-29 Thread Mitch Stewart
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

RE: Re: re servlet mapping question

2008-02-29 Thread Mitch Stewart
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

RE: Problems extracting a POST request's entity

2008-02-29 Thread Mitch Stewart
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

RE: Re: How to get request running realpath just like what does in servlet api?

2008-02-13 Thread Mitch Stewart
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

Re: Restful Login/Identifier

2007-10-02 Thread Mitch Stewart
. 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

RE: Xeerkat XMPP Restlet

2007-08-25 Thread Mitch Stewart
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

RE: RE: Xeerkat XMPP Restlet

2007-08-25 Thread Mitch Stewart
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

RE: Re: get and send Cookie not working....

2007-08-20 Thread Mitch Stewart
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

RE: Re: Re: get and send Cookie not working....

2007-08-20 Thread Mitch Stewart
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

JSON jar and Maven POM

2007-01-25 Thread Mitch Stewart
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

RE: Restlet 1.0 RC2 released

2007-01-09 Thread Mitch Stewart
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

2006-11-24 Thread Mitch Stewart
: 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

RE: RE: POSTing dynamic Representations

2006-11-23 Thread Mitch Stewart
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

POSTing dynamic Representations

2006-11-22 Thread Mitch Stewart
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