Deploy War File in Microsoft IIS 7

2019-02-05 04:51发布

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

标签: java iis-7 war
2条回答
唯我独甜
2楼-- · 2019-02-05 04:58

Please read this article: Deploying Java Servlet applications on Windows with IIS The Java is running on Jetty and IIS is used as a proxy, but in this solution all components are fit together to make it look and feel like it is built-in IIS feature of running WAR files.

查看更多
劫难
3楼-- · 2019-02-05 05:14

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.

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

查看更多
登录 后发表回答