Hi Dan,
Thanks for taking time to contribute this document! Here is some feed-back:
1) The title
The title makes me feel like you will cover the various ways to integrate AJAX
with Restlet where you in fact focus on one approach based on Prototype. You
could mention GWT, Dojo, etc.
You should
How to get request running "realpath" just like what does in servlet api?
In Servlet api,there is a method:request.getRealPath().it can return
request's realpath.
How to do that in restlet in order to access LocalFile?
--
cleverpig
Location: Beijing
Address: Room 4018,No.A2 South Avenue Fuxingmen
Hi,
Some comments.
I wonder how useful it is to just post all of the source code for a
tutorial, I find it hard reading and confusing.
I prefer to have a general overview of what I am going to learn in this
tutorial and then small code snippets with an explanation,
output,config,etc for each step
I don't think there can be a Restlet equivalent, since there is no single
filesystem root corresponding to a Servlet WAR's "deployment directory." In
the Servlet world the use of getRealPath() is frequently bad practice
anyway, because many containers don't have to extract WARs.
On 2/13/08, cleve
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 Servle
Sorry to resurrect an old thread, but I was just thinking about
this... I think it might be useful if both Client and Request had a
setConnectTimeout() method. This seems to me like a very general and
very useful parameter, one which deserves API support, instead of
being buried in connector parame
Hi Yousef,
> I noticed that some people talk about restlet webdav support,
> and I find
> webdav methods in the Method class, and also noticed that the
> finder will
> check the http standards method in the request, if not, it
> will call the
> handleXXX where XXX is the not standard name e
cleverpig gmail.com> writes:
>
> I post this draft in wiki.restlet.org--"Using AJAX in
> Restlet":http://wiki.restlet.org/docs_1.1/g1/43-restlet/52-restlet.html
>
> I will start this tutorial with a simply example-"microblog",that's a
> text based micro blog for demo how to using AJAX in Restle
8 matches
Mail list logo