这是一篇不断更新的文章:
(1)这是一篇JSP编写中常遇到的问题是拼写问题:
type Exception report
message /MyJsp.jsp (line: 24, column: 4) According to TLD, tag jsp:setProperty must be empty, but is not
description The server encountered an internal error that prevented it from fulfilling this request.
错误代码: <jsp:setProperty name="product" property="product_id" value="123456">
<%=product.getProduct_id() %>
第一行中少了一个结束符号!正确代码如下:
<jsp:setProperty name="product" property="product_id" value="123456"/>
<%=product.getProduct_id() %>