It's not a secret anymore!
The moose likes Servlets and the fly likes Can we run a servlet on the IIS? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can we run a servlet on the IIS?" Watch "Can we run a servlet on the IIS?" New topic

Can we run a servlet on the IIS?

Andria Davis

Joined: Nov 22, 2005
Posts: 4
Dear All,

I am a beginner in servlets codeing and I need your help on this point....

Can I run the Servlet on the IIS? Or I can only run it on the apache Tomcat

and Macromedia JRun.


Ben Souther

Joined: Dec 11, 2004
Posts: 13410

This is generally done by connecting Tomcat to IIS.
The connector is an ISAPI filter that passes all Servlet/JSP requests to Tomcat.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Because IIS is not a servlet container. You can say it a web server. So, you can run your servlet in any application server that has servlet container.

However, Ben steered you in right direction.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3753

Microsoft IIS and Tomcat are compatible and its the best way to run servlets from IIS, but its not the easiest installation in the world. Requires a lot of small steps.

[OCA 8 Book] [Blog]
I agree. Here's the link:
subject: Can we run a servlet on the IIS?
It's not a secret anymore!