看了官网支持jsp做法:
UndertowServer.create(Config01.class)
.configWeb(wb -> {
wb.getDeploymentInfo().addServlet(JspServletBuilder.createServlet("Default Jsp Servlet", "*.jsp"));
HashMap<String, TagLibraryInfo> tagLibraryInfo = new HashMap<String, TagLibraryInfo>();
JspServletBuilder.setupDeployment(wb.getDeploymentInfo(), new HashMap<String, JspPropertyGroup>(), tagLibraryInfo,
new HackInstanceManager());
})
.start();
import org.apache.jasper.deploy.JspPropertyGroup;
import org.apache.jasper.deploy.TagLibraryInfo;
上面的jar包我一直找不到,去中央仓库也找不到。下载了jfinal4.9.06-all,里面的jsp jar包也没有
找到这一个也不对org.apache.jasper-5.5.17.v200806031609.jar,找了很久,大佬知道是怎么回事吗?
项目:JFinal
https://jfinal.com/doc/1-6