rhino
Does Java 6 include a program that can run javax.script (Rhino JS) files?
I found that Java 6 includes Rhino JS (except for one or two minor pieces), as javax.script.Pretty cool![详细]
2023-01-08 02:55 分类:问答Rhino Mocks and Visual Studio: How do I fix this error?
I\'m having another fun problem with Rhino Mocks. Can anyone answer this one: Here\'s the call that I\'m making in my code:[详细]
2023-01-07 18:13 分类:问答Why not Rhino for JVM apps?
I would like to develop some apps for the JVM using a concise, dynamic language. The 开发者_C百科most popular choices for this seem to be Jython, JRuby, Groovy, and maybe Clojure.[详细]
2023-01-07 06:39 分类:问答asp.net mvc rhino mocks mocking httprequest values
Hi Is there a way to mock request params, what is the best approach when testing to create fake request values in order to run a test[详细]
2023-01-06 12:22 分类:问答Is it possible to communicate stuff from Rhino up to Java via an exception?
Using the JDK 6 ScriptEngine mechanism, anything that goes wrong during an \"eval\" or \"invokeMethod\" or whatever results in a ScriptException being thrown back to the invoking Java environment.As f[详细]
2023-01-06 06:23 分类:问答Useful, small support toolkit for using Rhino with Java (via the scripting framework)?
Using the scripting framework (javax.script.*), it\'s really easy to get basic integration between Java and Javascript working. However, once you get to the point of wanting to do something really use[详细]
2023-01-05 21:27 分类:问答Anonymous implementation of abstract classes in Rhino
I need to implement a listener in JavaScript by anonymous subclass of an existing abstract base class, define开发者_开发百科d like this:[详细]
2023-01-05 14:07 分类:问答Rhino, adding code from multiple javascript files
I am embedding some javascript in a Java application using Rhino. I am following the example on the开发者_运维百科 Rhino website, executing a script by calling the Context\'s evaluateString method and[详细]
2023-01-04 13:08 分类:问答How to create a 'real' JavaScript array in Rhino
Okay, I\'m a little stumped. I\'m probably missing something blatantly obvious but apparently I just can\'t see the forest for the trees:[详细]
2023-01-04 12:37 分类:问答How can I create and Apache Axiom element from a E4X object from a script running in Rhino?
I am running a script running in Rhino, which creates an E4X object like this: var s =<product id=\"123\">[详细]
2023-01-04 10:46 分类:问答