Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XMLHttpRequest in Rhino?

Lately I have been playing around with Java's ScriptEngine API, namely the javascript engine, which uses Rhino for everything.. I sumbled upon the fact that Rhino has no XMLHttpRequest. I was wondering if anyone knew of a possible way around this?

like image 552
Steven Avatar asked Dec 21 '12 06:12

Steven


1 Answers

You practically need to define XMLHttpRequest in Java. And it is already done - check this out.

like image 70
Adrian Ber Avatar answered Nov 16 '22 14:11

Adrian Ber