What is the difference between apache webserver and tomcat webserver?

Showing Answers 1 - 5 of 5 Answers

Srinivas Choudary

  • Oct 20th, 2006
 

 Apache webserver is a server which can send static webpages in response that are requested by the user. Where as Apache Tomcat webserver contains webcontainer and this webcontainer can generate dynamic web pages and it will send it. 

  Was this answer useful?  Yes

varsha

  • Nov 2nd, 2006
 

Apache is a web server (mainly support static html). Tomcat is a servlet container (mainly support servlets).

Apache is what your browser connects to, tomcat is what apache connects
to to ask for servlets to be processed. However, tomcat now includes a
webserver so you can cut out the middle man. You might not want to do
this on a large production environment.

  Was this answer useful?  Yes

raman36127

  • May 5th, 2008
 

Apache is an HTTP server written in C that can be compiled and run on many platforms. See http://www.apache.org

Java WebServer is an HTTP server from Sun written in Java that also supports Servlets and JSP.

Tomcat is an open-source HTTP server from the Apache Foundation, written in Java, that supports Servlets and JSP. It can also be used as a "plug-in" to native-code HTTP servers, such as Apache Web Server and IIS, to provide support for Servlets (while still serving normal HTTP requests from the primary, native-code web server). See http://jakarta.apache.org/tomcat

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions