Subject: Questions about Tomcat and Apache Integration?
From: "Jack Gao" <[EMAIL PROTECTED]>
 ===
Hi, List

I have some questions about Tomcat and Apache integration.

As I remember that the reason of not use Tomcat as a web server but only
JSP/Servlet engine is because of performance. Tomcat is not as good as
Apache to handle large number of requests at same time, and handle static
resources. So, I assume that by integrate Tomcat and Apache together, when a
request is for a static resource, like a html file or an image file, the
request will not go to Tomcat, but been processed by Apache directly.

But when I go through the log files of Tomcat 4.0.3, I found that request of
image files also go to Tomcat, it also been logged into
localhost_access_log......txt file.

So I got confused. Does this mean, this image files also processed by
Tomcat? or tomcat just log it as a access event, but didn't process it? If
Tomcat need to handle this kind of static resources, why we still need
Apache? If Apache just pass through the request to Tomcat, and forward
response to client, that will not help the performance I think.

Anybody has some info on this?

Thanks and regards,

Jack



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to