private static JaggeryContext createJaggeryContext(Context cx, OutputStream out, String scriptPath,
HttpServletRequest request, HttpServletResponse response) {
ServletContext servletContext = request.getServletContext();
JaggeryContext context = clonedJaggeryContext(servletContext);
CommonManager.setJaggeryContext(context);
context.addProperty(SERVLET_REQUEST, request);
context.addProperty(SERVLET_RESPONSE, response);
CommonManager.getCallstack(context).push(scriptPath);
CommonManager.getIncludes(context).put(scriptPath, true);
context.addProperty(CommonManager.JAGGERY_OUTPUT_STREAM, out);
defineProperties(cx, context, context.getScope());