You might try putting a copy of server.jar in the extentions dir. Both
javac and the runtime automatically look for class files in the jre lib
and extensions folder. The path is probably JAVA_HOME\jre\lib\ext (that is, so long
as the JAVA layout is the same in the PC world as in the UNIX
Thanks Rob and vVolf.
It works after I copied servlet.jar into JAVA_HOME\jre\lib\ext.
Becky
--- Rob Tanner [EMAIL PROTECTED] wrote:
You might try putting a copy of server.jar in the extentions dir.
Both
javac and the runtime automatically look for class files in the jre
lib
and
althought your classpath points to servet package, apparently it is not
found by javac. try this
javac -cp .;PATH_TO_SERVLET_API HelloWorldExample.java
vVolf
-Oryginalna wiadomooe-
Od: Becky Wang [mailto:[EMAIL PROTECTED]]
Wysano: 9 marca 2001 06:12
Do: [EMAIL PROTECTED]
Temat: