Deploy War File in Microsoft IIS 7

前端 未结 2 1161
傲寒
傲寒 2020-12-30 11:46

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

相关标签:
2条回答
  • 2020-12-30 12:15

    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.

    0 讨论(0)
  • 2020-12-30 12:19

    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

    0 讨论(0)
提交回复
热议问题