${requestScope}不显示具体内容:
问题原因是配置不完整,系统忽略了EL表达式
解决方法一、修改为如下:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1">
</web-app>
解决方法二:
在jsp页面中添加标签
<%@ page isELIgnored="false" %>
该标签表示不忽略EL表达式。
----------------------------------------------------------
修改后数据正常显示: