To run a servlet one should follow the steps illustrated below:
Go to Start->Control
Panel->System->Advanced->Environment Variables->New button and
Set the values as
Variable Name: CLASSPATH
Variable Value: C:\Program Files\Java\Tomcat 6.0\lib\servlet-api.jar
For Windows 2000 and NT
Go to Start->Settings->Control
Panel->System->Environment Variables->New button and Set the values
as
Variable Name: CLASSPATH
Variable Value: C:\Program Files\Java\Tomcat
6.0\lib\servlet-api.jar
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: How to run a servlet View All Comments
Post your Comment