Hi Pat,
You must add the directories of the imported staff into your classpath in
the autoexec.bat file. I think this will help you.
Regards,
Oguz
-----Original Message-----
From: Pat Willard <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, April 11, 1999 12:18 AM
Subject: Dumb question of the day!!!
>Hi All,
>
>I'm man enough to ask really stupid questions in a public
>forum such as this.
>I'm at the beginning of teaching myself to write servlets,
>...your reward is that this is an opportunity to help create
>a new servlet advocate.
>
>The question is: How the h**l do I compile a servlet.
>I've got the Java Web Server, JDK1.x, and the JSDK each
>installed in their own directory under C:\ on Win95.
>
>I'm using Karl Moss's "Java Servlets" book.
>
>My uncomplied servlet Properties.java is on the C:\ drive in a directory
>I've made to store samples in development.
>First few lines that create errors are:
>
>package javaservlets.samples;
>
>import javax.servlet.*;
>import javax.servlet.http.*;
>
>public class Properties extends HttpServlet {
>
>
>I've tried to compile it with the command: javac First.java
>
>I get errors saying that javaservlets.samples, javax.servlet.* and
javax.servlet.http "not found".
>
>Do I need to put this in the folder with the JSDK?
>Then what's the compand to compile it: javac filename.java
>or something else?
>
>Thanks for your help, Pat
>
>___________________________________________________________________________
>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