I can not use EL

2019-09-01 18:53发布

问题:

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



标签: jsp el struts1