I am new to JSP and I just downloaded Netbeans 5.5 and I'm using the bundled tomcat (5.5.17) that came with Netbeans as my server. I created the project by doing File->New Project->Samples->Web->Tomcat JSP Example. I can run this project and from the samples page I'm able to run the JSP 1.2 examples in there. But if I try to run any of the JSP 2.0 examples, then I get the following exception. Am I missing anything? I did not modify the project and I'm just running the project as it is in Netbeans. Any ideas on fixing this is greatly appreciated. Thanks.
I've got JSTL in my classpath. These are the libraries I have in my classpath: jstl.jar, standard.jar, jdk 1.5 and the bundled tomcat (5.5.17). Am i missing anything? The puzzling thing is, this is a Netbeans example program to illustrate JSP. I couldn't understand how it could be wrong. Any ideas are greatly appreciated. Thanks.
Yes, but are Eclipse and Tomcat compiling against the same version of the servlet and JSP libraries?
What happens if you work outside of Eclipse?
Joined: May 08, 2002
I'm using Netbeans 5.5 and this is the example which came with Netbeans 5.5 and even all the classpath and libraries are set in this example. I don't understand why it has problem with JSP 2.0 examples.