如何在不使用 scriptlet 的情况下使用 JSP 读取表单参数数据

How to read form parameter data using JSP without using scriptlet

我想在#jsp中使用scriptlet读取表单参数数据。但我不想在 JSP 中使用任何 java 代码。那我需要表达语言或#JSTL 还是什么?

只是在此处注明以防其他人遇到类似问题。 如果您使用 Apache Tomcat web.xml 配置将请求直接定向到 JSP,则 ${requestScope.attr} 似乎不起作用,而是 ${param.attr} 包含请求属性 attr.