Subj : Rhino and outputting browser javascript To : netscape.public.mozilla.jseng From : cool_screen_name90001 Date : Wed Oct 20 2004 04:27 pm Is it possible to output javascript's output from scripts that appear in browsers? For example, I have a script that has a bunch of document.write('...') calls. When trying to run it via the command line I get this error: java -classpath rhino/js.jar jsfile uncaught JavaScript exception: ReferenceError: "document" is not defined I'm basically interested in outputting the results of javascript, as they would be seen in browsers (the HTML). Thanks, CSN .