|
@@ -109,11 +109,15 @@ public class RenderFactory {
|
|
|
private void initJspRender(ServletContext servletContext) {
|
|
private void initJspRender(ServletContext servletContext) {
|
|
|
try {
|
|
try {
|
|
|
Class.forName("javax.el.ELResolver");
|
|
Class.forName("javax.el.ELResolver");
|
|
|
|
|
+ Class.forName("javax.servlet.jsp.JspFactory");
|
|
|
com.jfinal.plugin.activerecord.ModelRecordElResolver.init(servletContext);
|
|
com.jfinal.plugin.activerecord.ModelRecordElResolver.init(servletContext);
|
|
|
}
|
|
}
|
|
|
catch (ClassNotFoundException e) {
|
|
catch (ClassNotFoundException e) {
|
|
|
// System.out.println("Jsp or JSTL can not be supported!");
|
|
// System.out.println("Jsp or JSTL can not be supported!");
|
|
|
}
|
|
}
|
|
|
|
|
+ catch (Exception e) {
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private void initFileRender(ServletContext servletContext) {
|
|
private void initFileRender(ServletContext servletContext) {
|