Now I have a really stupid question ;-) ...
Ok When I run the apache server it shows the following :
F:\Program Files\Apache Group\Apache>apache
[Wed Feb 07 20:41:46 2001] [alert] apache: Could not determine the
server's full
y qualified domain name, using 127.0.0.1 for ServerName
Apache/1.3.14 (Win32) tomcat/1.0 running...
QUESTION :
Why does it say TomCat 1.0..I have TomCat 3.2 ?
Next, How can I be sure that my requests are being served via the Apache
and TomCat and not only stand alone TomCat ?
I mean when I do this following request..it lets me fill out the form and
responds properly... :
http://127.0.0.1/servlet/PhoneBook
But How do I know whether it actually goes through Apache to Tomcat or
just Tomcat ? Cause I need to use Tomcat with Apache, not standalone for
my purpose.
Next Question :
I did not mess with the web.xml or server.xml at all to change any config
in the TomCat...When do I need to do that ? Is that application specific ?
I will appreciate your help and answers. Thanks very much.
Kash
On Wed, 7 Feb 2001, Scott Walter wrote:
> No you don't have to download anything extra. The
> classes are included with tomcat in the servlet.jar
> file, which is located in the lib directory under your
> tomcat install.
>
> FYI--When specifying a classpath for jar files you
> can't just specify the directory in which the jar file
> exist in, you must include the full path. Below is an
> example to compile a servlet that needs servlet.jar:
>
> javac -classpath c:\tomcat\lib\servlet.jar
> MyServlet.java
>
> scott.
> --- "Rezaul H. Safiuddin" <[EMAIL PROTECTED]>
> wrote:
> >
> > OK...I am totally Confused..please Help!
> >
> > I have jdk 1.3, Apache Web Server and TomCat
> > 3.2....Where is the javax
> > package ? I finally downloaded jsdk 2.1 and the
> > javax directory is
> > there..I pointed the classpath to that directory or
> > its parent directory
> > in many ways.. - but it never finds it.
> >
> > Shouldn't the servlet API's come with TomCat or do I
> > have to download Java
> > Web Server or whatever ?
> >
> > These are the errors I am getting :
> >
> > HelloWorldServlet.java:3: package javax.servlet does
> > not exist
> > import javax.servlet.*;
> > ^
> > HelloWorldServlet.java:4: package javax.servlet.http
> > does not exist
> > import javax.servlet.http.*;
> >
> > Help please...Thanks.
> >
> > Kash
> >
> >
> > On Wed, 7 Feb 2001, Erik LaBianca wrote:
> >
> > > Do you have the servlet api's in your compilers
> > classpath?
> > >
> > > --erik
> > >
> > > -----Original Message-----
> > > From: Rezaul H. Safiuddin
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, February 07, 2001 10:09 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Another Newbie Question -- Urgent Please!
> > >
> > >
> > >
> > >
> > > How come I am not being able to compile a
> > HelloWorldServlet.java with
> > > jdk1.3 ? Its giving me hundreds of compiler
> > errors. I need to compile this
> > > file and create the .class file . Do I need
> > something especial for
> > > compiling servlets ? I already installed the
> > TomCat 3.2.1 . Any Help would
> > > be appreciated. But I am able to run the
> > SnoopServlet.java that comes with
> > > TomCat in the classes directory. Do I have to
> > configure something else if
> > > I wanna add a new servlet class ?
> > >
> > > Kash
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, email:
> > [EMAIL PROTECTED]
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, email:
> > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, email:
> > [EMAIL PROTECTED]
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]