I can not use EL <c:out value=“${inquiryListID.id}”/> in my jsp,

天大地大妈咪最大 提交于 2019-12-14 03:18:14

问题


I use "Working with server: Apache Tomcat/6.0.36 Servlet Specification: 2.5 JSP version: 2.1" In my JSP page, I used EL with this tag <c:out value="${inquiryListID.id}"/> .

When it renders the page, it is displaying ${inquiryListID.id} only.

Its value does not show.

Please explain me what to do?


回答1:


In the page directive of your jsp place this attribute isELIgnored="false"

Example : <%@ page isELIgnored="false" %>

This should display the value of ${inquiryListID.id}

check if this works



来源:https://stackoverflow.com/questions/18326255/i-can-not-use-el-cout-value-inquirylistid-id-in-my-jsp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!