don't know if you found answer to yr question yet.. but at any rate, I
went thru same problem, they don't have adequate instructions at
jakarta.apache... I finally was able to configure and successfully run
tomcat on my pc, both at home and at work, following the these instructions:
http://www.onjava.com/pub/a/onjava/2001/03/29/tomcat.html
read instructions carefully and follow to the letter, it should work, I
have tomcat v. 5.0.27.. at any rate, whatever version you have I think
these instructions should work..
there's also these, although a bit more involved... but useful nonetheless..
http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Configure-Tomcat
good luck, hope this helps...
Frances
> Hi,
>
[quoted text clipped - 26 lines]
>
> Gerorge
> Hi,
>
[quoted text clipped - 4 lines]
> So far I have downloaded and run the 5.5.exe from jakarta.apache.org
> and am not sure of what to do next.
It's a .exe file. Did you try running it?
> I have read several documents on setting up and I have found them all
> very confusing.
What did you find confusing? The Tomcat documentation is actually pretty
complete. It's a fairly complex system but if you start with the
Introduction and work down through the step in the Users Guide links it's
not that difficult.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
> How do I configure everything so that Tomcat works with
> my existing web?
That's explained in the documentation.
> Several issues I have regarding servlets, and I hope someone can answer
> these, are:
>
> Does Tomcat run as a part of or along side Apache (1.31 for windows) or
> does it replace apache?
Sort of, yes, and yes. Tomcat can be integrated with apache such that it
handles the rendering of servlets producing html or Java Server Pages. It
can run by itself to render static html or it can be configured with a
Tomcat-Apache connector so that Apache renders the static html pages.
> Can I run my usual local website and link to a servlet from a standard
> http files? For example, I have my Apache docroot configured to
> c:\webs\webroot\ will Tomcat be tied with that somehow so I could have
> an hyperlink to href='http://localhost/servlet/myservlet' from the root
> index?
Yes, as long as you use a tomcat-apache connector, otherwise you need to
specify the port number of Tomcat when accessing servlets
(http://localhost:8080/myservlet)
> Can I post variables to a servlet from a non-servlet web page?
http://localhost:8080/myservlet?var=foo&var2=foo2
> Is there, somewhere, a page that goes through this with painfully clear
> step-by-step instructions.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
or...
Do a search on Amazon.com for "Tomcat". There are numerous books on the
subject.