Apache TomcatGeneral discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Apache Tomcat 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
Hello,
I have recently installed Apache Tomcat 5.5 on Windows 2000 OS.
How to use the file
C:\Program Files\Apache Software Foundation\Tomcat
5.5\common\lib\servlet-api.jar
to compile the servlets?
Please help.
You have to put in CLASSPATH :
C:\Program Files\Apache Software Foundation\Tomcat
5.5\common\lib\servlet-api.jar
You have to write these from above in Start -> Control Panel-> System -> Advanced -> Environment Variables
After that you have to restart computer
Mr. Ram and briss are correct, however you do not need to restart your computer. You only need to restart any Java processes that are running. When they are restarted they will pick up the new CLASSPATH definition.