Hey guys.
I'm hard at work studying for my SCWCD
test.
I've gone through the book once, with my highliter, and now on my second time through I am trying everything out on the
Tomcat test environment the book has you deploy to. I've gotten
servlets and simple JSPs to work just fine, and I've been having fun. I recently started messing around with the JSTL, and have started trying to use the EL.
The JSTL tags work just fine, but the EL language appears to do nothing. My EL expressions just show up on my pages as they were written into the
JSP.
For example:
${7} ends up being ${7} on my web-page. Same thing for trying to access my attributes.
I'm using Tomcat 5.5.20, according to what prints when I start it up. I've been trying to trouble-shoot this, and so was afraid the JSP jar in Tomcat wasn't 2.0. I downloaded a jsp-api-2.0 jar, and replaced the jar in my [TOMCAT_HOME]/common/lib directory, but nothing changed. I think the Tomcat 5.X versions all use JSP 2.2, so that didn't surprise me.
The Head First book mentioned that EL is enabled by default, but just in case, I put the <el-ignored> JSP property in my web.xml and set it to false. Still no change, also not a surprise.
Anyone know what might be wrong? I suspect the problem is just a stupid mistake I am making.
Thank you in advance.