The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Compile the servlet

Posted by Tran Ha Thanh on January 12, 2001 at 3:27 AM

You download the servlet package and set the CLASSPATH to point to it. Suppose the servlet package was copied to C:\servlet
On Window, by adding the line CLASSPATH=%CLASSPATH%;C:\servlet
On Unix, adding :C:\servlet to CLASSPATH variable.
Good luck.

> I wrote a simple servlet program. But my compile is saying file not found exception. Is it because I am not having servlet classes for compliation. Ok. what if i download it from the sun site, where should i place those in which directory.
> javajdk1.2/bin is the current directory
>
> should i place it in this way.
>
> javajdk1.2/bin/servlet/javax/http
> I received the servelt directory from sun site but where to place it I don't know.

>
> Please help me out..
> regards,
> gajju

>
> waiting for reply.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us