Session session = request.session();
String fileName = request.getParameter("file");
final String scriptFileWithPath;
scriptFileWithPath = fileName;
RhinoScriptRunner scriptRunner = new RhinoScriptRunner(new FileScript(scriptFileWithPath));
session.setScriptRunner(scriptRunner);
session.setIsPlaying(true);
String startUrl = request.getParameter("startUrl");
session.setIsWindowOpen(false);
startPlayback(session, true, "0");