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 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 world.
>
> -- Rob
>
> --On Friday, March 09, 2001 08:36:14 AM +0100 Herchel Wojciech
> <[EMAIL PROTECTED]> wrote:
>
> > 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
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
>
>
>
>
> _ _ _ _ _ _ _ _ _ _
> /\_\_\_\_\ /\_\ /\_\_\_\_\_\
> /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM
> SIT,
> /\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
> /\/_/_/_/_/ /\_\ /\/_/ /\/_/
> /\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
> \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)
>
> Rob Tanner
> McMinnville, Oregon
> [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]