I posted earlier about not being able to compile servlets from JDK 1.2.2. I
was told to set my CLASSPATH to point at a JSDK jar file (servlet.jar or
jdsk.jar by different people).
My JSDK only had a jsdk.jar, so I set my CLASSPATH to be its directory
(<dirs>/JSDK2.0/lib). Still got compilation failures:
Package javax.servlet not found in import
Package javax.servlet.http not found in import.
I then expanded jsdk.jar so that the individual directories and classes
appeared at the same level. So in the lib directory there were also the
javax and sun directories. The servlet then compiled OK. Any ideas why the
.jar was insufficient?
Stig Townsend
Software Division, Fox IT
(incorporating Ultracomp Ltd)
[mailto:[EMAIL PROTECTED]]
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html