ODP: Question on import javax.servlet.*;???

2001-03-23 Thread Herchel Wojciech

 I know Ive been at this for bout 6 months now, but what do 
 you mean when you 
 say "'servlet.jar' should be located in the classpath"?
that means that you should compile it with

javac -classpath .;PATH_TO_SERVLET_API YourClass.java

regards,
vVolf



ODP: Question on import javax.servlet.*;???

2001-03-22 Thread Herchel Wojciech

the package is not in your classpath

vVolf


 -Oryginalna wiadomooe-
 Od: Mick Sullivan [mailto:[EMAIL PROTECTED]]
 Wysano: 22 marca 2001 22:37
 Do: [EMAIL PROTECTED]
 Temat: Question on import javax.servlet.*;???
 
 
 Hi
 Does anyone know why I get the following error when I try to import
 "import javax.servlet.*;  AND
 import javax.servlet.http.*;"
 I need them for my loginHandler to use sendRedirect etc.
 This is the error:
 
 C:\JBuilder35\jdk1.2.2\binjavac 
 c:\tomcat\webapps\projectuser\web-inf\classes\l
 oginHandler.java
 c:\tomcat\webapps\projectuser\web-inf\classes\loginHandler.jav
 a:7: Package 
 java.
 servlet not found in import.
 import java.servlet.*;
^
 c:\tomcat\webapps\projectuser\web-inf\classes\loginHandler.jav
 a:8: Package 
 java.
 servlet.http not found in import.
 import java.servlet.http.*;
 
 Anyone have any ideas? The answer is probably straight 
 forward (as usual)
 Thanks in advance,
 Mick
 
 
 
 __
 ___
 Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.