Tomcat cannot parse El expression solution

Source: Internet
Author: User

  1. Method One       

  2. For a single JSP page, you can use the Define page directive to set whether the JSP page supports El. The default is to support

  3. Hold El (If the page does not support El, set to iselignored=true;

  4. <%@ page iselignored="True|false"%>

  5. Method Two

  6. Configure in Web. xml: ( for the entire application)

  7. <jsp-config>

  8. <jsp-property-group>

  9. <url-pattern>*.jsp</url-pattern>

  10. <el-ignored>false</el-ignored>

  11. <page-encoding>utf-8</page-encoding>

  12. </jsp-property-group>

  13. </jsp-config>

  14. Method Three

  15. Modify the <web-app> tag in Web. Xml as:

  16. <web-app xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xmlns= "Http://java.sun.com/xml/ns/javaee"

  17. xsi:schemalocation= "Http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

  18. version= "2.5" >



Tomcat cannot parse El expression solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.