在 Microsoft IIS 7 中部署战争文件

2022-01-25 00:00:00 iis-7 java war

我想问一下如何将war文件部署到Microsoft IIS 7?提前致谢.

I would like to ask how can I deploy a war file to Microsoft IIS 7? Thanks in advance.

推荐答案

你不能.为此,您需要一个 Java EE Web 容器,例如 Tomcat 或 JBoss.IIS 可以充当通过 WAR 文件托管的内容的前端代理.

You can't. You need a Java EE Web Container such as Tomcat or JBoss in order to do so. IIS can just act as a front facing proxy for the stuff hosted through the WAR file.

您可能需要一种将 IIS 和 Tomcat 连接在一起的方法,以便可以将对任何动态资源(例如 JSP 和 Servlet)的请求委托给 Tomcat.

What you probably need is a way to connect IIS and Tomcat together so that requests for any dynamic resources such as JSPs and Servlets can be delegated to Tomcat.

以下链接详细说明了如何执行此操作.

The following link explains how to do so in detail.

http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html

相关文章