i have simple crawler which crawl and search page. but now i have problem how to execute and parse js link from that page. Does anyone have any idea how to parse and execute js page?  example:   some_url is simple to parse with webhtmltoolktit JAVA...
Anyway to run UglifyJS2 without node.js? Say I would like to run it in a JVM process using JavaScript script engine. How to do that?...
Is it possible to reference the javax.script.ScriptEngine library when developing an android application? If not is there anyway possible to evaluate a javascript expression in android?...
I need to somehow deep clone the entire set of bindings of my ScriptEngine object.  What I have tried   I have tried so far the Cloner library to clone the entire Bindings structure. This would be great if it worked because it would have ensured a pr...
Has anybody ever faced a memory leak problem with IActiveScriptParse32::ParseScriptText when using it in C#? I need a ScriptEngine that is able to parse JavaScript-Code. (Everything works fine, except the used memory)  The problem is, that the longer...
I need to use classes from a jar file inside JavaScript. I'm using JavaScript through Java ScriptEngine and would like to do something similar to what I did with Jython here,      import org.python.core.Py;     import org.python.core.PySystemStat...
I am trying to use ScriptEngineManager and ScriptEngine to execute some JavaScript code with Java. I use Java 8 I am executing this code under Karaf OSGi.  The example I used works fine in a sample Java Class, but packing it in a bundle gives me this...
I use Java's ScriptEngine to execute JavaScript Code. I use the Invocable Interface, so that I can use the Script Code as a normal Java Object implementing a Java Interface.  If the JavaScript Code    is invalid does not follow the interface (mis...
I'm using Java 8.   I'm not a java expert (haven't looked at java since college 10 years ago)  I create an instance of a ScriptEngine (Nashorn if it matters). I use it to eval several javascript files.  The script chugs along quite happil...
I have a script that works just fine in Chrome but crashes on Nashorn with:     (Error: Namespace "com.cognitect.transit.util" already declared. in  at line number 19664 at column number 6   That error is not very useful, as that line contain...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.