Or save yourself all the typing by putting servlet.jar in the
[drive]:\j2se\lib\ directory and including the jar file in your user
classpath.
Cheers!
Mark
----- Original Message -----
From: "Richard Yee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 2:12 PM
Subject: Re: Compiling Servlets...
> Alexander,
> Do you mean 'servlet.jar' instead of 'server.jar'? servlet.jar has the
> javax.servlet.* packages. You might want to explicitly name the jar file
> in your javac command line using:
> javac -classpath <path_to_servlet.jar> your_servlet_file.java
>
>
> -Richard
>
> At 01:03 PM 9/7/01 -0500, you wrote:
> >I hope you can excuse my ignorance... I'm new to the servlet arena...
What
> >do I need to compile servlets??? I hava j2se, but I get the error saying
> >javax package doesn't exist... I downloaded server.jar from sun's site
and
> >placed it in my classpath, but I still get the same error...
> >
> >Any help will be very appreciated...
> >
> >Thanks in advance!
> >
>
>___________________________________________________________________________
> >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
>
>
___________________________________________________________________________
> 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
>
___________________________________________________________________________
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