If you
do a search for package "javax.servlet.http does not exist", on a site like www.northernlight.com, you may get some
clues that could help. I did this, just to see what would turn up, and
here is a good, example site.
One of
the sites is http://javaboutique.webdeveloper.com/articles/ITJ/qanda/q17.html
In
lieu of others not being able to address your problem, this may help.
-----Original Message-----
From: Roland Dong [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 3:18 AM
To: Orion-Interest
Subject: Why javac does not compile servlet?I have successfully installed orion1.45. It runs great! What I can not figure out is how to make javac compile a servlet. I have put tool.jar into orion directory and my autoexec.bat look like this:SET BLASTER=A220 I7 D1 T2SET SNDSCAPE=C:\WINDOWSset JAVA_HOME=c:\jdkset TOMCAT_HOME=C:\tomcat\set PATH=c:\jdk\binPATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ORAWIN95\BIN;c:\jdk\binset CLASSPATH=c:\jdk\lib\tools.jar;When I compile a simple servlet I got error message. This is the error message when I try tojavac HelloWorldServelt2.java:
C:\Web\jsp\jspRoland\WEB-INF\classes>javac HelloWorldServlet2.java
HelloWorldServlet2.java:2: package javax.servlet does not exist
import javax.servlet.*;
^
HelloWorldServlet2.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^etc.
......................7 errorsC:\Web\jsp\jspRoland\WEB-INF\classes>Could someone throw me some light?Thanks very very muchRoland
