zoukankan      html  css  js  c++  java
  • easy.jsp出现According to TLD or attribute directive in tag file, attribute value does not accept any expressions

    显示类似

    HTTP Status 500 - /ora/ch5/easy.jsp (line: 13, column: 16) According to TLD or attribute directive in tag file, attribute value does not accept any expressions

    错误

    解决方法:

    在jsp文件中

    添加<%@ page isELIgnored="true"%>

    <%@ page contentType="text/html" %>
    <%@ page isELIgnored="true"%>
    <%@ taglib  prefix="c" uri="http://java.sun.com/jstl/core"  %>
    <html>
      <head>
        <title>JSP is Easy</title>
      </head>
      <body bgcolor="white">
    
        <h1>JSP is as easy as ...</h1>
    
        <%-- Calculate the sum of 1 + 2 + 3 dynamically --%>
        1 + 2 + 3 = <c:out value="${1 + 2 + 3}"/>
    
      </body>
    </html>
    

      

     Jsp设计第二版书中

    貌似是JSTL的问题

  • 相关阅读:
    react 采坑记录
    理解JS 模块化
    MongoDB使用教程
    scss
    gulp 使用教程
    node.js 简单入门
    jQuery
    jQuery
    php+mysql+bootstrap 实现成绩管理系统
    SVN的commit功能用bat实现
  • 原文地址:https://www.cnblogs.com/SangBigYe/p/3221233.html
Copyright © 2011-2022 走看看