Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 28th, 2003, 05:45 AM
Registered User
 
Join Date: Jul 2003
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
 
Old July 30th, 2003, 04:08 PM
Registered User
 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Problem fixed. I stopped using Tomcat 5 zip and installed Tomcat 5 .exe.




 
Old May 17th, 2004, 12:32 AM
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Robbin Alexander
Default

Quote:
quote:Originally posted by Charles Howard
 Problem fixed. I stopped using Tomcat 5 zip and installed Tomcat 5 .exe.









Similar Threads
Thread Thread Starter Forum Replies Last Post
Pain: A touch-up on Beginning JSP Chapter 23 Swede BOOK: Beginning JavaServer Pages 1 January 12th, 2014 10:59 AM
Wroc Beginning JSP 2.0 wireblock All Other Wrox Books 11 November 7th, 2004 08:43 PM
Beginning JSP colin2455 Forum and Wrox.com Feedback 2 March 30th, 2004 03:52 PM
Beginning JSP 2.0 + JSTL AlanZ3 JSP Basics 2 September 28th, 2003 06:58 AM
"Advanced" example in beginning JSP Darren JSP Basics 1 July 23rd, 2003 10:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.