Move the JAR files the server kit unpacked, to the
<jdkhome>\lib directory, if I remember correctly.

Alternatively, unpack the *.jar files the server kit
provided, put them in a directory such as javax under the
<jdkhome> directory, and add the <jdkhome>\javax directory to
the CLASSPATH environment variable.

Accessing the servelet:  make sure, when you try to access
the file from the web browser, that you use the path
<serveletsHome>\servlet\servletName .  Note the singular
"servlet", instead of the plural "servlets".

On Sunday, September 26, 1999 5:16 AM, Hari
[SMTP:[EMAIL PROTECTED]] 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]
>
>  << File: ATT00001.htx >>

___________________________________________________________________________
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