Package net.sf.jsptest.compiler.api

Examples of net.sf.jsptest.compiler.api.Jsp


    }

    public Jsp compile(String path, Map taglibs) {
        lastCompiledWebRoot = getWebRoot();
        lastCompiledPath = path;
        return new Jsp() {

            public JspExecution request(String httpMethod, Map requestAttributes,
                    Map sessionAttributes, Map requestParameters) {
                return new JspExecution() {
View Full Code Here


        JspCompiler compiler = JspCompilerFactory.newInstance();
        log.debug("Using compiler " + compiler.getClass().getName() + " and webroot "
                + new File(getWebRoot()).getAbsolutePath());
        compiler.setWebRoot(getWebRoot());
        compiler.setOutputDirectory(getOutputDirectory());
        Jsp jsp = compiler.compile(path, substituteTaglibs);
        log.debug("Simulating a request to " + path);
        execution = jsp.request(httpMethod, requestAttributes, sessionAttributes, requestParameters);
    }
View Full Code Here

TOP

Related Classes of net.sf.jsptest.compiler.api.Jsp

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.