This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, I just found a servlet.jar in tomcat's lib directory. I put it in C:\jdk1.2.1\lib, the compiler can not find javax.servlet.*. Then I put it in C:\jdk1.2.1\jre\lib, the compiler still can't find javax.servlet.*. Can someone tell me where exactly to place the servlet.jar? Thanks. BTW, I am using JDK 1.2.1.
Hi, As u find the servlet.jar in the tomcat's directory, note down the full path.Then go to the dos prompt and set classpath ,the command may be set classpath=%classpath%;c:dir name\dir name\(where servlet.jar file is).
Then complie servlet file and run it.Think now it will work . Byee Bipul
Joined: Apr 06, 2001
At c:/> I put classpath=%classpath%;C:\jakarta-tomcat-3.2.1\lib, but DOS says "Bad command or file name". Can you be more specific? Thanks.
Hi Cameron, If JAR file has to be recognized in the classpath, you need to provide the complete path including the name of the JAR file Assuming, that you have have servlet.jar in C:\jakarta-tomcat-3.2.1\lib, this is what you need to add in your System/User Classpath of your system
Alternatively, you could type the following command in the DOS-Prompt