Hi list,

I am new to Java Servlet.  I am trying to write my first Servlet on my Win
95 PC.  The followings are what I did:
*       Download Sun JDK 1.2 and installed it on the PC
*       Download Sun JSDK 2.0 and installed it on the PC

The following are what is working:
*       I can work with JDK for Java application and applets
*       If I run servletrunner and go to the browser to run
http://<server_name>:8080/servlet/simpleServlet in which simpleServlet is a
sample with JSDK 1.2, it works in browser

However what are not working is when I picked up the simpleServlet.java
sample and tried to recompile it, it gave me errors. Basically the compiler
complained that it can not find javax.servlet.* and javax.servlet.http.*
which are necessary for developing servlet.

Could anyone show me how to let the compiler recognize the packages?  I
check some book, it says I should put <JSDK directory>\lib\classes.zip in
Classpath for the PC, but I do not know how.  Also I go to that directory
and could not find file called classes.zip.  The only file I can find is
jsdk.jar.

Thanks,


> :-) Bin
> Bin Zhou
> *732-957-7692
> *[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

Reply via email to