The following question is often asked - why IIS does not support using JSP directly? Allow me to explain what is really going on here...
Does IIS 5.0 support the use of .jsp pages directly or do I need to use a separate server or extensions to IIS? Thanks in advance.
Thanks for your quick reply. One follow-up question, does IIS 6.0 directly support the use of .jsp or do I still need the 3rd-party add-on?
Ok, here's how all of this works:
Tomcat is slightly different and here is how Tomcat works with web servers like Apache and IIS:
A popular add-on for IIS to run JSP on Tomcat is isapi_redirect, and what it does is basically the following:
What you need to run JSP:
Thus, IIS can never directly support the use of JSP because it requires an add-on to run Java code in a JVM to Load, Instantiate, and Reflect on the JSP page. The same can be said for every other non-Java web server because they have to do the exact same thing as IIS (so it is a matter of bundling and not capability). Meanwhile, Java-based web servers can obviously directly support JSP, but they are usually VERY slow in raw speed in comparison to native code web servers like IIS or Apache for everything.
In fact, you can say the exact same thing about ASPX pages - IIS can never directly support the use of ASPX pages because it requires an add-on to run .Net code in a CLR to Load, Instantiate, and Reflect on the ASPX page.
So, yes, IIS natively supports running JSP via add-ons, just not directly.