Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 JSP 中使用${...}而不是;<c:out value="${...}"/>在tomcat 6.0.10中,可以解析成功。但是在 SunOne Application Server 8.2 中,它不支持这种用法
${...}
<c:out value="${...}"/>
JSP 2.0 引入了裸 EL 表达式 without c:out,因此它应该可以工作,因为“Application Server 8.2 符合 JSP 2.0 规范”(来源)。或许问题在于所讨论的 JSP 页面指定了 1.1 版。
c:out