Trying to compile the servlet
Hi all, I am trying to compile the servlet with the JAVAC tool of J2SDK. But on compilation it shows errors which indicate that JAVAX package is not present in its path or classpath. Can anyone figure out from where i can get JAVAX package and put it in my path so that my servlet can see it. Thanks, Vikas. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Trying to compile the servlet
Which javax package? There are many. Some are in J2SE, some are in J2EE. John Turner [EMAIL PROTECTED] -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 12:23 PM To: '[EMAIL PROTECTED]' Subject: Trying to compile the servlet Hi all, I am trying to compile the servlet with the JAVAC tool of J2SDK. But on compilation it shows errors which indicate that JAVAX package is not present in its path or classpath. Can anyone figure out from where i can get JAVAX package and put it in my path so that my servlet can see it. Thanks, Vikas. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Trying to compile the servlet
Does your CLASSPATH contain a full path to J2EE_HOME/lib/j2ee.jar like: /usr/local/j2sdkee1.3.1/lib/j2ee.jar -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 12:23 PM To: '[EMAIL PROTECTED]' Subject: Trying to compile the servlet Hi all, I am trying to compile the servlet with the JAVAC tool of J2SDK. But on compilation it shows errors which indicate that JAVAX package is not present in its path or classpath. Can anyone figure out from where i can get JAVAX package and put it in my path so that my servlet can see it. Thanks, Vikas. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Trying to compile the servlet
Hello, the servlet lib is not include in JSDK. You must add the servlet.jar in your CLASSPATH to have the javax hierarchy. You can find the servlet.jar in the /common/lib of Tomcat. Bye -- Jean-Baptiste Onofré (Nanthrax) Membre fondateur de phpFR.org http://www.phpfr.org [EMAIL PROTECTED] Membre fondateur du LUG Béziers http://lug-beziers.org [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]