严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /product/booking/flight_booking_passenger.jsp(23,0) According to TLD or attribute directive in tag file, attribute items does not accept any expressions
1、将<%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
改为:<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
2.将<%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
改为:<%@taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
本文介绍了解决JSP页面中出现的属性items不接受表达式的错误方法。通过更改taglib指令中的URI,可以有效地解决此问题。文章提供了两种修改方案。


被折叠的 条评论
为什么被折叠?



