Access to Java Classes
For JavaScript scripts, the following classes are accessible in a <script> command
Java language classes.
Any class in the classpath for the
MashZone NextGen Server.
Use fully-qualified class names, such as in this example:
<script type="text/javascript">
<![CDATA[
var p = java.util.regex.Pattern.compile("a*b");
var m = p.matcher("aaaaab");
var b = m.matches();
print(b);
]]>
</script>
Important: For Java language classes, access is dependent on the version of the JDK used by the application server that hosts the MashZone NextGen Server.