* @param mockTaglibs
* Mapping of tag names to tag handler classes
*/
public JspCompilationInfo compile(String path, Map mockTaglibs) throws Exception {
JspCompilationInfo info = createJspCompilationInfo(path, mockTaglibs);
if (info.jspCompilationRequired()) {
compileJsp(info);
compileJavaToBytecode(info);
} else {
log.debug(" No compilation needed for " + info.getJspSource());
}