On Mar 11, 5:12 pm, Atishay <[EMAIL PROTECTED]> wrote:
> Hi
>
> I want to add xmlHttpRequest feature in Rhino so that it is Ajax
> enabled. I have a Java file which implements xmlHttpRequest w3c spec.
>
> What should be my next step so that I can make javascript calls for
> AJAX. I read documentation of Rhino but could not come up with a list of
> steps to do the same.
> If you can guide me to some documentation that would be great.
>
> Is xmlHttpRequest implementation by a 3rd party already available as
> open source.
>
> Thank You
>
> Atishay

John Resig implemented a subset of the standard browser features,
including XMLHttpRequest, for use with Rhino in a project called
env.js

http://ejohn.org/blog/bringing-the-browser-to-the-server/

(Note: unrelated to XHR, there's a memory leak when dealing with
Elements due to them being cached)

-Tom
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to