David Wang wrote a post on the MSDN blogs titled "How does JSP work on IIS?" that addresses why JSP can't be run directly under IIS 5.0 and 6.0. The short version is that IIS doesn't run any dynamic content directly, it requires an add-on for it (even ASP.Net). The article mentions a popular add-on to use for servlets is isapi_redirect, which shunts the request to Tomcat for handling (since isapi_redirect is an IIS add-on, IIS still handles communication with the client).
发布评论
评论(2)
David Wang 在 MSDN 博客上发表了一篇题为“JSP 如何在 IIS 上工作?" 解决了 JSP 不能直接在 IIS 5.0 和 6.0 下运行的原因。简而言之,IIS 不直接运行任何动态内容,它需要一个附加组件(甚至 ASP.Net)。这篇文章提到了一个用于 servlet 的流行插件是 isapi_redirect ,它将请求分流到 Tomcat 进行处理(由于 isapi_redirect 是 IIS 附加组件,因此 IIS 仍然处理与客户端的通信)。
David Wang wrote a post on the MSDN blogs titled "How does JSP work on IIS?" that addresses why JSP can't be run directly under IIS 5.0 and 6.0. The short version is that IIS doesn't run any dynamic content directly, it requires an add-on for it (even ASP.Net). The article mentions a popular add-on to use for servlets is isapi_redirect, which shunts the request to Tomcat for handling (since isapi_redirect is an IIS add-on, IIS still handles communication with the client).
并非没有某种 servlet/JSP 引擎。
Not without a servlet/JSP engine of some kind.