This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, I trying to compile a java file, however I'm getting an error stating that the package javax.servlet does not exist. I have the correct classpath but just to make sure here's a copy: E:\Oracle\Ora81\orb\classes\yoj.jar;E:\Oracle\Ora81\orb\classes\share.zip;C:\jdk1.3\bin;C:\JAVA;C:\Java\JavaRanchCommon.zip;C:\jakarta-tomcat-3-2-1\lib\servlet.jar;C:\jakarta-tomca t-3-2-1\lib\jasper.jar;C:\jakarta-tomcat-3-2-1\lib; can someone lend a hand. Thanks
Hi, Copy javax folder from the "jsdk" directory and paste it in the jdk1.2.2 "bin" folder and then compile ur java file. Hope u have installed the jsdk if not please do install it. Hope this will help. Regards Muffazal
I got this probelm once when i miss to set servlet.jar file in my CLASSPATH. I don't know if i make any sense but your directory name in your CLASSPATH setting for servlet.jar file says C:\jakarta-tomcat-3-2-1\lib\servlet.jar For me it is C:\jakarta-tomcat-3.2.1\lib\servlet.jar i.e, it should be "dot" instead of "dash" between Tomcat version number Ajan [This message has been edited by Ajan Balakrishnan (edited February 01, 2001).]