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 August 10th, 2004, 11:50 PM
Registered User
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default chapter1 CLASSPATH

I am using Tomcat 5.0. According to chapter 1, I need to set CLASSPATH to %CATALINA_HOME%\commolib\servlet.jar. I can't find the servlet.jar file but servlet-api.jar. Need your help. Thanks in advance! :)
 
Old August 11th, 2004, 12:36 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr
Default

If you are going to make copies of the Tomcat startup or shutdown scripts, it is also helpful to set the CATALINA_HOME environment variable to refer to the top-level directory of the Apache Tomcat installation (e.g., C:\jakarta-tomcat-5.0.27). This variable identifies the Tomcat installation directory to the server. However, if you are careful to avoid copying the server startup scripts and you use only shortcuts (called "symbolic links" on Unix/Linux) instead, you are not required to set this variable. I recommend using shortcuts and not bothering with CATALINA_HOME.

Useful link for setup : http://www.coreservlets.com/Apache-T...#Catalina-Home


 
Old August 11th, 2004, 12:45 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr
Default

Add the following stmnt to Autoexec.Bat

set PATH=C:\j2sdk1.4.2_05\bin;%PATH%
set JAVA_HOME=C:\j2sdk1.4.2_05
set CLASSPATH=.;C:\jakarta-tomcat-5.0.27\common\lib\servlet-api.jar;C:\jakarta-tomcat-5.0.27\common\lib\jsp-api.jar;C:\Servlets+JSP;..;..\..

you could find more help in : http://www.coreservlets.com/Apache-T...#Catalina-Home








Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter1: Page8 I don't see Security Tab pinponpan BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 June 20th, 2008 11:16 AM
classpath ekta BOOK: Beginning Java 2 1 March 28th, 2005 11:35 PM
classpath? abdi Java GUI 1 December 8th, 2004 04:44 PM





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