you add the servlet's jar file that is jsdk*.jar in your classpath. And in
linux we put the class files in the htdocs directory inside the apache
directory. the servlet search the applets inside that directory..i presume
you are using linux. put your class file inside the above said directory
and try,
all the best,
MUTHU.


On Sun, 26 Sep 1999, Hari wrote:

> Hello,
>
> Am a beginner in Java Servlets development. I installed JSDK 2.1 and am using 
>JDK1.2.1. Now i face a problem in running the servlets.
>
> The problem might be with the CLASSPATH. Am able to compile a servlet using javac 
>when invoked from the DOS prompt. When the same source program is compiled using an 
>editor like WinEdit, which uses the same javac, it show compilation error:
>
> Package javax.servlet not found in import.
> import javax.servlet.*;
>
> And also, when i compiled it and placed the class file inside the servelts directory 
>of the java websrver. and am not able to accesss the servelet.Please help
>
> ( Am getting the html page when i connect to the server at 8080)
>
> Thanks,
> Hari
>
> [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