----- Original Message -----
From: "Lee Zhao" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 7:30 PM
Subject: apache+tomcat?


> Can someone please explain why one needs or wants to use apache in
addition to tomcat? Can one just use tomcat as plain web server for serving
HTML pages? Thanks in advance.
>

The main reason is performance.

Yes, Tomcat can be used standalone as an HTTP server.

However, a compiled Apache instance is faster at serving static content.
Since Tomcat's "main" job is to be a servlet container, if quick response is
an issue, it should spend its time being one, rather than serving static
content.

Of course, people's requirements are different, and Tomcat serving both
static and dynamic content is cool for many different folks depending on
their needs.

Check out the website and the mailing list archives for good bits of
information relating to this topic, it's a very popular one.

Regards,
Michael


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to