I understand the jar file concept, but I have a hard time understanding how
the compiler finds them. Because of the error: javax package not found! I
the installation instructions it said to set classpath=
to nothing that way I can compile from anyhwere without having to set the
classpath?
If you can tell me where to find hte beginners series I would gladly read
it.
Thanks

----- Original Message -----
From: "Raghupathy, Gurumoorthy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 12:36 PM
Subject: Re: classpath/servlet compilation error: javax package not found!


> Actually,
>                 servlet.jar file is a collection of classes known as
> packages zipped into a bundle ( usually a .jar or .zip file ).
>                 javax.servlet.* is a part of the package which is bundled
in
> servlet.jar.
>                 Just imagine if this would not been the case then the
whole
> package will eat a lot of HARDDISK SPACE and
>                 more env variable.
>                 Just read a beginners series for JAVA which will explain
the
> concept of packages and .jar files
>
>
> Sorry but this is how java work and we in the java community really like
> this concept since it is one time compilation and thne can be put on any
> platform....
>
>
> Regards
> guru
>
>
> -----Original Message-----
> From: Leon Vermaak [mailto:[EMAIL PROTECTED]]
> Sent: 25 February 2002 16:45
> To: [EMAIL PROTECTED]
> Subject: classpath/servlet compilation error: javax package not found!
>
>
> I am at a loss as to what I must modify in this file?
> I managed to compile the program with javac -classpath "C:\Program
> Files\Apache ...\common\lib\servlet.jar"
> What I don't understand is why I put import javax.servlet.*;
> if there is nothing on my drive called javax?
> If Java is supposedly such a serious programing language and they pretend
on
> making it work? They aught to make easy for new commers to the language to
> follow a details explination on how to do set the path to the respective
> libraries that one is suppose to use to write one's servlets!
> I appologize if this is simply my ignorace, but The least they can do is
try
> to include a page for newbies that will explain things in IDIOT PROOF
TERMS.
>
> I am going to follow Markus Spath's lead and read on about ANT and Tomcat
> Manager HOW-TO.
>
> Thanks for the replies.
>
>
> ----- Original Message -----
> From: "Williams, William H"
> <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 25, 2002 10:53 AM
> Subject: Re: classpath/package question?
>
>
> > There is a limit on how long environment variables like CLASSPATH can
be.
> >
> > See if this helps...
> >
> >  <<runStuff.txt>>
> >
> >
>
>
___________________________________________________________________________
> 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
>
>
___________________________________________________________________________
> 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
>
>

___________________________________________________________________________
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