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

  本人使用的是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之前!!!

posted @ 2017-07-31 17:25  KMSFan  阅读(6456)  评论(0编辑  收藏  举报
document.getElementById("homeTopTitle").innerText="ღKawaii";