View Single Post
  #1 (permalink)  
Old July 28th, 2003, 05:45 AM
Charles Howard Charles Howard is offline
Registered User
 
Join Date: Jul 2003
Location: Totnes, Devon, United Kingdom.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning JSP 2.0 chapter 2

Dear all
I cannot get the example code on p. 44 to work. When I point my browser at the jsp page I get the error
org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: the system cannot find the path specified.
(and a cascade of further errors).

I know I have not configured something right, but cannot tell what.
I've got a Windows 2000 machine:
JAVA_HOME=c:\jdk
CATALINA_HOME=c:\tomcat5
CLASSPATH=...;%CATALINA_HOME%\common\lib\servlet-api.jar
(the book says servlet.jar, but another post to this forum has put me right)
I've downloaded JSTL 1.0.3, I've got a WEB-INF folder with subfolders classes and lib, and I've copied the JSTL tag libraries into the lib folder. I'm running Tomcat 5 with JDK 1.4.
I've found that TldLocationsCache.class is a class in tomcat5\common\lib\jasper-compiler.jar
Does that help anyone?

Thanks for any help
Charlie Howard
Reply With Quote