Jump to content


Jstl And Custom Tag Related Queries

  • Please log in to reply
No replies to this topic

#1 Pallavi Talegaonkar

Pallavi Talegaonkar

    New Member

  • Members
  • Pip
  • 1 posts

Posted 12 November 2009 - 09:17 PM

I am preparing for SCWCD certification. First of all I would like to thank you all 3 authors for giving such a nice book for preparation of SCWCD. We could grasp fast because of the new format used by you.
While implementing examples given in your book Head first Servlets and JSP, I came across following problem. Example given on pg. no. 447 from chapter 9 on Custom tags and JSTL, after following all steps as per book, I am not able to run the example of c:forEach. It gives me following exception :
javax.servlet.ServletException: javax/el/ELException
java.lang.NoClassDefFoundError: javax/el/ELException
java.lang.ClassNotFoundException: javax.el.ELException

When I tried other examples for custom tags, like, c:if and c:when, its working but it is not recognizing syntax for c:forEach, c:set etc.
Also while executing EL code I need to add following, then only I could run EL code :-
<%@page isELIgnored ="false" %>
But as mentioned in book, EL is enabled by default.
Please give me solution.

Thanks & Regards
Pallavi Talegaonkar

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users