This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
EL belongs to the JSP 2.0 specs, which requires Tomcat 5 (J2EE 1.4), not Tomcat 4 (J2EE 1.3).
Regards,
Phil.
pallavi utukuri
Ranch Hand
Joined: Feb 10, 2004
Posts: 182
posted
0
will installing Tomcat5 alone work for EL and JSTL or do i need to install something else
Philippe Maquet
Bartender
Joined: Jun 02, 2003
Posts: 1872
posted
0
Hi Pallavi,
Nothing else. You simply work with Tomcat 5 instead of Tomcat 4. If my memory doesn't betray me, you still need to install JSTL separately though, but not to get EL to work (it's built in JSP 2.0), just JSTL.
Someone else will clarify this here soon, hopefully...
Regards,
Phil.
pallavi utukuri
Ranch Hand
Joined: Feb 10, 2004
Posts: 182
posted
0
EL is working that gives a lot of relief cause my brother is an atrist ......trying JSTL now....
Problem solved. Actually, because I'm using web.xml with Servlet 2.3 ('cause of XDoclet' :roll: ) the default is that EL for JSP pages is NOT evaluated by default. For web.xml for Servlet 2.4 the default is that it IS evaluated by default.
From JSP Specs 3.3.2:
The default mode for JSP pages in a Web Application delivered using a web.xml using the Servlet 2.3 or earlier format is to ignore EL expressions; this provides for backward compatibility. The default mode for JSP pages in a Web Application delivered using a web.xml using the Servlet 2.4 format is to evaluate EL expressions; this automatically provides the default that most applications want.
I added the page directive with isELIgnored="false" in the JSP page and it worked fine.