Subj : Re: Making a Spider in Java with Rhino To : netscape.public.mozilla.jseng From : gfloria@tcpsi.es (gonzalo) Date : Tue Mar 25 2003 03:49 am Hi Again So, i manage to get de js code from the web page, even the js libraries from the server, BUT when calling the interpreter, I get this error: ReferenceError: "document" is not defined. The js code is filled with references to the document object. Is there a way to create it the way a web client would create it? another problem I face is: How to provide the interperter with two or three libraries of js functions in order to excecute a piece of code with references to those functions? Thnx .