AnsweredAssumed Answered

Making a HTTP GET in Javascript (Rhino in Alfresco)

Question asked by flyer on Jan 15, 2007
Latest reply on Jan 23, 2007 by arielb
Hi all,

I would like to perform a HTTP GET in a javascipt (running by Alfresco who is using rhino).

I've tried something like:
importPackage(Packages.org.apache.commons.httpclient.HttpClient);
or
var client = new java.org.apache.commons.httpclient.HttpClient();

but it seems like importPackage or imporClass or not accessible and HttpClient also :(.

Any Idea?
Florent,

Outcomes