Nginx/Apache 是Web Server,而Apache Tomact是一个servlet container 想请教下,具体区别呢?因为如果使用了Apache Tomact的话已经具备响应http request的功能
Nginx/Apache 是Web Server,而Apache Tomact是一个servlet container 想请教下,具体区别呢?因为如果使用了Apache Tomact的话已经具备响应http request的功能
3 回答806 阅读
2 回答548 阅读
1 回答600 阅读
776 阅读
联系
都可以做web服务器,对外服务。
区别
正如你所说:
tomcat可以对jsp进行解析,nginx和apache只是web服务器,可以简单理解为只能提供html静态文件服务。php等动态语言的支持靠的是扩展。
总结一下:tomcat具有nginx和apache的静态文件服务功能,同时具备jsp解析功能。