坑一:异常:javax.el.PropertyNotFoundException: Property 'xxx' not found on type java.lang.String
在错误的上下文找找是不是少了“$”符号。
坑二:
jstl 标签库引入是否错误
<%@ page language=“java” contentType=“text/html; charset=UTF-8”
pageEncoding=“UTF-8”%>
<%@ taglib uri=“http://java.sun.com/jsp/jstl/core” prefix=“c” %>
<%@ taglib uri=“http://java.sun.com/jsp/jstl/fmt” prefix=“fmt”%>
坑三:
<c:forEach items=" ${requestScope.list}" var=“goods” >

在此提醒大家在jstl中的属性值“”中不能有空格。

相关文章:

  • 2021-06-09
  • 2021-08-25
  • 2021-10-24
  • 2021-08-16
  • 2021-10-05
  • 2021-12-16
  • 2021-08-22
  • 2021-09-18
猜你喜欢
  • 2021-06-26
  • 2021-12-22
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案