Set EL (Expression Language) under Tomcat5

xiaoxiao2021-03-06  119

Web applications under Tomcat5, by default, EL expressions are not supported, if you want to use EL expressions, you need to do the following

method one

Add <% @ page islignored = "false" in each JSP page

Method Two

Modify the tag in web.xml as

XSI: SchemAlocation = "

http://java.sun.com/xml/ns/j2ee-web-app_2_4.xsd "Version =" 2.4 ">

This is OK.

转载请注明原文地址:https://www.9cbs.com/read-99756.html

New Post(0)