Package org.apache.jasper

Examples of org.apache.jasper.JasperEngineContext


    private JspCompilationContext createCompilationContext( Request req,
                  String jspFile,
                  Options opt,
                  Mangler mangler)
    {
  JasperEngineContext ctxt = new JasperEngineContext();
  ctxt.setServletClassName( mangler.getClassName());
  //  ctxt.setJspFile( req.servletPath().toString());
  ctxt.setJspFile( jspFile );
  ctxt.setClassPath( computeClassPath( req.getContext()) );
//        System.out.println("computeClasspath:"+ctxt.getClassPath());
  ctxt.setServletContext( req.getContext().getFacade());
  ctxt.setOptions( opt );
  ctxt.setClassLoader( req.getContext().getClassLoader());
  ctxt.setOutputDir(req.getContext().getWorkDir().getAbsolutePath());
  return ctxt;
    }
View Full Code Here

TOP

Related Classes of org.apache.jasper.JasperEngineContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.