try {
//
// we need to pass context classloader here, so the jsps can reference /WEB-INF/classes and
// /WEB-INF/lib. JspCompilationContext would only take URLClassLoader, so we fake it
//
URLClassLoader classLoader = new URLClassLoader(new URL[]{}, context.getLoader().getClassLoader());
for (Iterator it = names.iterator(); it.hasNext();) {
String name = (String) it.next();
long time = System.currentTimeMillis();
JspCompilationContext jcctx = createJspCompilationContext(name, false, opt, sctx, jrctx, classLoader);
ClassLoader prevCl = ClassUtils.overrideThreadContextClassLoader(classLoader);