compiling question

2001-06-28 Thread alex chang

I have Windows 2000 and Tomcat 4.0 b5.

I'm following the latest JDC Tech Tips on filters:
http://developer.java.sun.com/developer/JDCTechTips/2001/tt0626.html

From my WEB-INF/classes directory, I compiled with:
javac RequestBlocker.java

I received an error message that it basically 
couldn't find the Filter class. But I already 
have my variables as:

CLASSPATH=.;%TOMCAT_HOME%\common\lib\servlet.jar;
TOMCAT_HOME=c:\jakarta-tomcat-4.0-b5
JAVA_HOME=c:\jdk1.3

Then I tried compiling again with:
javac -classpath %TOMCAT_HOME%\common\lib\servlet.jar RequestBlocker.java

and it worked fine. But the only odd thing was that
it didn't create the com/develop/filters directory 
like I thought it would.

I'm just curious, but does anyone know what happened?
Thanks,
-alex

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



RE: compiling question

2001-06-28 Thread Filip Hanik

javac -d location

will create the directories for you

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net 

-Original Message-
From: alex chang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 3:26 PM
To: [EMAIL PROTECTED]
Subject: compiling question


I have Windows 2000 and Tomcat 4.0 b5.

I'm following the latest JDC Tech Tips on filters:
http://developer.java.sun.com/developer/JDCTechTips/2001/tt0626.html

From my WEB-INF/classes directory, I compiled with:
javac RequestBlocker.java

I received an error message that it basically 
couldn't find the Filter class. But I already 
have my variables as:

CLASSPATH=.;%TOMCAT_HOME%\common\lib\servlet.jar;
TOMCAT_HOME=c:\jakarta-tomcat-4.0-b5
JAVA_HOME=c:\jdk1.3

Then I tried compiling again with:
javac -classpath %TOMCAT_HOME%\common\lib\servlet.jar RequestBlocker.java

and it worked fine. But the only odd thing was that
it didn't create the com/develop/filters directory 
like I thought it would.

I'm just curious, but does anyone know what happened?
Thanks,
-alex

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/