Its fine ulf for editing my post. Anyway what matters is i uderstand these differences....so it hardly matters you edit or reply.....
Ulf i had some doubts..though your explanation was satisfactory for my first question (1st quote)i.e ( why Tomcat can b considered as application server also..) but i have some doubts in other questions....let me take them one by one...
The things in bold is reply by you.....
i installed Apache Tomcat on my machine. Does that mean that Apache will take care for static content and tomcat is for servlets container?
No.The server often called "Apache" is actually "Apache httpd", and is a web server written in C. It is not part of Tomcat (although they can be installed and used in parallel).
Do you mean to say that Apache HTTPD is only for static stuff etc....and i need to install tomcat 5.5 or so separately for my servlets?
Tomcat started its life as the JServ module for Apache HTTPD (now known as the Apache web server). It was only a servlet container and was incapable of handling web requests on its own.When combined, HTTPD would handle all web requests, would serve up all the static content on its own and forward any dynamic requests to JServ. Httpd was the web server and JServ was the servlet container.
how can TOMCAT and JVM work as standalone application? In this case who will take care of HTML pages?
Tomcat has no problems serving static content. Anything you place in a web app will be served - JSP, HTML, CSS, JS, images, ...
W.R.T above quote
If tomcat for example say i install 5.5 is capable of doing all things, then why will anyone go for Apache Httpd web server?
Also is anything to do with versions of tomcat. the quote below says(from the link)
At the time Tomcat alone was not fast enough for use in heavy traffic production environments, and didn't support SSL so it was standard practice to combine Tomcat with the Apache web server
So as is says above that earlier tomcat didnot supportrd SSL etc, so
which version of tomcat was it? [ March 21, 2008: Message edited by: Maan Shenoy ]