javascript - How to not import system lib classes in java rhino lib script? -


I use Java Rhino Lib as a script engine in my application, so that users can control their application I do not want them to be used in Java system Lib Class Script, eg: "java.lang.Sytem.exit ()",

p> Does anyone know how to do ?? Thanks

call Context.setClass shutter (class shutter) appropriate The classifier implementation implements the visibleToScripts (string full classname) method, which you want to filter (or by) the scripts that are usable from the

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -