Deploy War File in Microsoft IIS 7

妖精的绣舞 提交于 2020-01-10 10:49:14

问题


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


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/9391826/deploy-war-file-in-microsoft-iis-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!