Leon Vermaak wrote:

> How does the compiler find the javax.servlet.* classes
> in the servlet.jar file... WHERE do you tell the compiler to find the class
> files or jar for that matter.


this is the job of the classpath;

if you call:
javac -classpath C:\yourjars\servlet.jar
for instance, all files contained in servlet.jar will be visible to the compiler;

if your classes reside in a dir called C:\yourclasses
javac -classpath C:\yourclasses
will make them visible to the compiler.

you can add as many entries as you like, seperating them by ;

hth,
markus

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to