本人使用的是taglib作为模板页,然后碰到的这个问题,如果有类似的可以参考。

<%@tag description="Overall Page template" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@attribute name="header" fragment="true" %>
<%@attribute name="footer" fragment="true"  %>
<%@attribute name="bottom" fragment="true" required="false" %>
<%@attribute name="top" fragment="true"  %>

  首先注意:attribute的name必须小写!如果大写,会报上述问题。

  第二,实际调用的真实jsp页面,所有的attribute必须在jspBody之前!!!

java.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.classes.views.index_jsp 问题解决方法

相关文章:

  • 2021-08-05
  • 2021-07-23
  • 2021-08-20
  • 2021-08-30
  • 2022-01-01
猜你喜欢
  • 2022-01-05
  • 2021-11-29
  • 2021-12-12
  • 2021-11-01
相关资源
相似解决方案