This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Double check that the changes you made have been applied. Are you deploying via a WAR or just copying files into place? If using a WAR, it is generally safer to delete the "exploded" directory that Tomcat creates, so that you can be certain it gets the latest version.
What you might also try is putting this on your JSP page: <%@ page isELIgnored="false" %> This suggestion is more in the way of "try this and see if it works". The best approach is to get web.xml correct.
What have you got in web.xml now?
Joined: Feb 19, 2006
I am using a simple ant script to deploy to the webapps dir of tomcat. I added the line you mentioned <%@ page isELIgnored="false" %> to the jsp and that didn't help I am at a loss right now I know it's something simple I am missing (it usually is).
I have my JAVA_HOME & CATALINA_HOME variables set and also my CLASSPATH is set so the servlet-api.jar file is there. Any further ideas?
<display-name>Web Application</display-name> <description> This is version X.X of an application to perform a wild and wonderful task, based on servlets and JSP pages. It was written by Dave Developer (firstname.lastname@example.org), who should be contacted for more information. </description>