简体   繁体   中英

Is it possible to run asp.net and java web applications in the IIS server?

I need to run the ASP.NET application and JAVA WEB application in a single web server. Because, These two apps are co-ordinate and work as a single application to the client end. Pls help me.

Use url rewrite to make asp.net (IIS) as proxy server for specific mapping. For example:

  <system.webServer>
            <rewrite>
            <rules>
                <rule name="Reverse Proxy to webmail" stopProcessing="true">
                    <match url="^example_endpoint/(.*)" />
                    <action type="Rewrite" url="http://localhost:8080/example_endpoint/{R:1}" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM