Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Apache Tomcat General 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 31st, 2006, 02:29 AM
Registered User
Join Date: Mar 2005
Location: Chiplun, Maharashtra, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to smshinde
Default About Tomcat: How to use servlet-api.jar

I have recently installed Apache Tomcat 5.5 on Windows 2000 OS.
How to use the file
C:\Program Files\Apache Software Foundation\Tomcat
to compile the servlets?
Please help.

Reply With Quote
  #2 (permalink)  
Old July 12th, 2006, 07:55 AM
Authorized User
Join Date: Mar 2006
Location: , , .
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts

Type the following command on command prompt and compile ur program.
Not exactly. Similar to this. It means, Tomcat path may be different in ur system

set classpath=%classpath%;C:\Tomcat 5.0\common\lib\servlet-api.jar
Reply With Quote
  #3 (permalink)  
Old July 12th, 2006, 08:08 AM
Registered User
Join Date: Apr 2006
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

You have to put in CLASSPATH :
  C:\Program Files\Apache Software Foundation\Tomcat
You have to write these from above in Start -> Control Panel-> System -> Advanced -> Environment Variables
After that you have to restart computer

Reply With Quote
  #4 (permalink)  
Old July 12th, 2006, 02:05 PM
Friend of Wrox
Join Date: Jan 2006
Location: San Francisco, CA, USA.
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts

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.

Jon Emerson
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle Servlet Engine Using with Tomcat goback Apache Tomcat 7 July 13th, 2007 03:16 PM
Tomcat and Servlet Beginner raghda Apache Tomcat 2 May 17th, 2007 06:32 AM
Servlet is running after tomcat is stopped. pandian Apache Tomcat 3 January 2nd, 2006 07:56 AM
servlet with tomcat problem... thiNkspAce Apache Tomcat 2 October 23rd, 2004 05:38 AM
Servlet.jar rockmovinman Apache Tomcat 2 January 17th, 2004 03:04 AM

All times are GMT -4. The time now is 10:57 PM.

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