Data AccessCore JavaApp FrameworksViewTestingBuildingDeploymentDev ToolsSecurityOpinions

Sunday, December 7, 2008

JSTL Expression Language (EL) not being resolved.

When the container is unable to resolve EL syntax ${}, in JSTL tags. There are a couple of things that you can do to get EL syntax resolving in your JSP's. I assume that you are running an application server supporting the JSP 1.2 and Servlet 2.3 specifications.

In order to evaluate EL expressions, your web.xml file must be up to date.
If your web.xml states that it is version 2.3 or less, EL evaluation is disabled by default for backwards compatibility.

If your web.xml reads:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>

Replace it with:

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns=""http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">

If you are unable to update your web.xml to a post 2.3 descriptor, then you can add the following to your jsp page to have EL evaluated:
<%@ page isElIgnored="false" %>
overriding the default configuration for a pre 2.4 descriptor.

30 comments:

  1. Thanks a lot. Spend more than a day, breaking my head about what the hell is going on. With 2.4 spec, JSTL works perfectly, even in couple with JSF.

    ReplyDelete
  2. This was worth reading article, java is no doubt the most powerful programming languages yet more demanding as well. <
    Regards,
    PHP Training in Chennai|JAVA Course in Chennai|Best JAVA Training in Chennai|JAVA Training

    ReplyDelete
  3. I have read your blog its very attractive and impressive. I like it your blog.

    Java Training in Chennai Java Training in Chennai | Core Java Training in Chennai

    Online Java Training Java Online Training | Java J2EE Online Training | JavaEE Training Institute in Chennai

    ReplyDelete
  4. Excellent post! Thank you for Sharing. We are the best erp software providers in chennai. For more details call +91 9677025199 or email us on info@bravetechnologies.in
    erp in chennai

    ReplyDelete
  5. Excellent post! I heve read your blog it's very interesting and informative. Keep sharing.
    erp providers in chennai | erp software chennai

    ReplyDelete
  6. your blog was so interesting to read. Really nice thanks for sharing such a great blog, keep updating.. Software Testing Training in Chennai | Selenium Training Institute in Chennai | ALM Training Institute in Chennai

    ReplyDelete
  7. Sas Training Institute in Noida- Webtrackker is the best sas training institute in noida. SAS expansions allow you to build storage networks. SAS architectures support multiple target storage and multiple hosts. In powder architecture, access control techniques are critical. SAN functionality such as zoning is now processed by standard organizations. The zoning will be particularly important for diskless disk environments, each of the blades having its own safe boot disk in an external fence. Future enhancements to SAS are likely to include cryptography and virtualization.SAS focuses on bandwidth, not only through serial architecture, but also by aggregation programs that logically connect multiple connections. This model offers more choices for system OEMs and supplements when power, pin counts, and bandwidth are needed.
    Sap Training Institute in Noida
    PHP Training Institute in Noida
    Hadoop Training Institute in Noida
    Oracle Training Institute in Noida
    Linux Training Institute in Noida
    Dot net Training Institute in Noida
    Salesforce training institute in noida
    Java training institute in noida

    ReplyDelete
  8. Thanks for the useful post. Keep posting more like this.
    Webdesign Lüdenscheid

    ReplyDelete
  9. The website is looking bit flashy and it catches the visitors eyes. A design is pretty simple .
    office 2010 professional plus key deutsch

    ReplyDelete
  10. Webtrackker Indirapuram offers an inclusive software testing training in Indirapuram. The extensive practical training provided by the Software Testing training institute in Indirapuram, equips live projects and simulations. Such a detailed course in Software Testing has helped our students to obtain work in several multinationals. The Webtrackker trainers are subject to specialized corporate professionals who offer an in-depth study in the Software Testing course in Indirapuram.
    software testing institute in Indirapuram

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. I like to get up early to go out and breathe fresh air. I feel that it is good for health and a good habit
    19216811ll.com

    ReplyDelete
  13. http://www.javaidentifiers.com/2017/01/write-java-program-to-find-first.html
    http://whazzup-u.com/profiles/blogs/sas-training-institute-in-noida
    http://www.j2eeprogrammer.com/2008/12/jstl-expression-language-el-not-being.html
    http://www.oraappsguide.com/forums/topic/sas-training-institute-in-noida/
    http://www.oraappsguide.com/forums/topic/sap-training-institute-in-noida/
    http://www.toptendir.net/submit.php?c=69
    http://ansysforum.com/topic/11554019/2/#new
    http://www.javaken.com/threads/sas-training-institute-in-noida.18809/

    ReplyDelete
  14. Best SAP Training and Placement Institute is CIITNOIDA. Contestant will learn according to current Industry
    trends by Certified and Industry Experts & SAP Training Institute in Noida. We Provide
    100% placement Assistance.

    CIITN provides Best SAP Training in Noida as per the current industry standards. Our training
    programs will enable professionals to secure placements in MNCs. CIITN is one of the most recommended
    SAP Training Institute in Noida that offers hands on practical knowledge / practical implementation on live
    projects and will ensure the job with the help of advance level SAP Training Courses. At CIITN SAP Training in Noida is
    conducted by specialist working certified corporate professionals having 8+ years of experience in
    implementing real-time SAP projects.

    Sap Training in Noida
    best sap training institute in noida
    sap course in noida
    sap fico training in noida

    ReplyDelete
  15. CIITN is the pioneer of education providing the best PHP training in Noida as per the current industry requirement that enables candidates to land on their dream jobs in companies worldwide. CIITN Provides best PHP training course in Noida. CIITN is a renowned training company providing the best training service and also being the best PHP training institute in Noida rendering practical knowledge through training on projects and a dedicated placement assistance for all. The course curriculum for PHP training course is designed to provide in-depth knowledge that covers all the modules for the training ranging from basic to advanced level. At CIITN PHP training in Noida is supervised and managed by industrial experts having more than 10 years of experience in handling PHP projects. CIITN training comprises of both classroom as well as practical sessions to deliver an ideal environment for students that will enable them to handle difficult and complex situation when they would step into the reality of IT sector.CIITN is an excellent PHP training center in Noida with superior integrated infrastructure and newly designed labs for students to practice and pursue training for multiple courses at Noida. CIITN institute in Noida train thousands of students around the globe every year for the PHP training at an affordable price which is customised as per each candidate’s requirement of modules and content.


    PHP training in Noida

    ReplyDelete
  16. HADOOP TRAINING INSTITUTE IN NOIDA

    CIITN provides Big data hadoop training in Noida in Noida as per the current industry standards. Our training programs will enable professionals to secure placements in MNCs. CIITN is one of the most recommended Hadoop Training Institute in Noida that offers hands on practical knowledge/practical implementation on live projects and will ensure the job with the help of advance level Hadoop Training Courses. At CIITN Hadoop Training in Noida is conducted by specialist working certified corporate professionals having 8+ years of experience in implementing real-time Hadoop projects.CIITN is the best Hadoop training center in Noida with a very high level infrastructure and laboratory facility. The most attractive thing is that candidates can opt multiple IT training course at Noida location. We feel proud by announce that CIITN prepares thousands of candidates for Hadoop training at sensible fees structure which is sufficient for best Hadoop training in Noida to attend the Hadoop classes.Hadoop training course includes “Knowledge by Experiments” strategy to get Hadoop training and performing real-time practices and real-time modulation. This extra ordinary practices with live environment experience in Hadoop Training certifies that you are ready to apply your Hadoop knowledge in big corporations after the Hadoop training in Noida completed.


    Big data hadoop training in Noida

    B-12, Sector - 2, Noida, U.P
    State - Uttar Pradesh U.P
    Country - India
    Pin Code - 201301

    Phone - +917290926565
    Mon - Sun: 10am - 6pm

    ReplyDelete