亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

The difference between Nginx/Apache and Apache Tomcat
PHP中文網(wǎng)
PHP中文網(wǎng) 2017-05-16 17:04:06
0
2
812

Nginx/Apache is a Web Server, and Apache Tomact is a servlet container I would like to ask, what are the specific differences? Because if you use Apache Tomact, you already have the function of responding to http requests

PHP中文網(wǎng)
PHP中文網(wǎng)

認(rèn)證高級PHP講師

reply all(2)
某草草
  1. Contact
    They can all be used as web servers and provide external services.

  2. Difference
    As you said:

Nginx/Apache is a Web Server, and Apache Tomact is a servlet container

Tomcat can parse jsp, nginx and apache are just web servers, which can be simply understood as only providing html static file services. The support of dynamic languages ????such as php relies on extensions.

To summarize: tomcat has the static file serving function of nginx and apache, and also has the jsp parsing function.

當(dāng)前多采用apache監(jiān)聽所有端口,然后將相應(yīng)的域名用ajp13連接到tomcat,tomcat在8080端口獨立運行。
漂亮男人

Tomcat’s request efficiency for static resources is too low. Generally, ngxin/lighttpd (apache) is used as the front end, and it just forwards jsp requests to tomcat.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template