FYI: I have solved the compilation problem with the following command:
javac -classpath c:\jswdk-1.0.1\lib\servlet.jar;c:\jdk1.1.8\lib\classes.zip
articles.java
Thank for your support.
Charles
>
> > did you include the jswdk installation in your classpath?
> >
> > -----Original Message-----
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Charles Tam
> > Sent: Thursday, April 27, 2000 11:38 PM
> > To: [EMAIL PROTECTED]
> > Subject: A compilation question
> >
> >
> > Hi JSP Users
> >
> > I am quite new to Java 1.1.8 and jswdk-1.0.1
> >
> > For some reason, I cannot compile the following class.
> > >>> start
> > import java.util.Enumeration;
> > import java.util.Hashtable;
> > import javax.servlet.http.*;
> > public class articles
> > {
> > private String month;
> > }
> > >>> end
> >
> > The compiler error follows:
> > >>> start
> > C:\jswdk-1.0.1\examples\WEB-INF\jsp\beans\ddj>javac articles.java
> > articles.java:5: Package javax.servlet.http not found in import.
> > import javax.servlet.http.*;
> > ^
> > 1 error
> > >>> end
> >
> > I do not know why? Please help.
> >
> >
> > Kind Regards
> >
> > Charles Tam
> > [EMAIL PROTECTED]
> >
> > Operational Solutions Management
> > Software Developer
> > Office AUSTRALIA: +61 2 9438 2777
> > Fax AUSTRALIA: +61 2 9901 3411
> >
> > ==============================================================
> > This E_Mail transmission contains information which is OSM Proprietary /
> > Commercial - In - Confidence, is legally privileged, and is intended for
> > the use of the addressee. If you think you have received this E_Mail
> > in error, or the transmission is incomplete, please immediately advise
OSM
> > by telephone or reply E_Mail.
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets