<h1>test the JSR223 interp stuff</h1> Here are some simple tests. Each script gets a value from the request object, then set a value that can be referenced later in the page. <p> For languages that have a notion of "printing to stdout", all output is captured, and placed in the page. Otherwise, the result of the script can be placed in the page using the "result=true" attribute. <hr> <interp language="JavaScript" result=true> request.props.put("script.javascript", "hello"); "Javascript! version= " + brazil_version + " port=" + props.getProperty("port"); </interp> <hr> <interp language=ruby> $request.props.put("script.ruby", "hello") puts "Ruby on port " << $request.props.get_property("port") </interp> <hr> <interp language=php> <?php print ('PHP hello from port ' . $props->getProperty('port')); ?> <?php $rewrite_context->request->props->put('script.php','hello'); ?> </interp> <hr> <p> <table border> <foreach name=i glob=script.* sort> <tr><td><get name=i.name></td> <td><get name=i.value></td></tr> </foreach> </table>