aspose file tools*
The moose likes Servlets and the fly likes Servlet on  MS-IIS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet on  MS-IIS" Watch "Servlet on  MS-IIS" New topic
Author

Servlet on MS-IIS

Shrinivas Mujumdar
Ranch Hand

Joined: Aug 27, 2004
Posts: 328
Hello Friends,
Can i execute Servlet & JSP on MS-IIS?
with best regards,
Shrinivas
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yes, if you use Microsoft's JVM. There's an article here which might help.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Paul Sturrock:
Yes, if you use Microsoft's JVM. There's an article here which might help.


Huh? You would still need a servlet container (Tomcat) to actually process the JSP/Servlet requests. You can use IIS for static content and have it forward JSP/Servlet requests to something like Tomcat, but pure IIS does not know what to do with JSP/Servlets.


GenRocket - Experts at Building Test Data
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Sorry the url I gave was faulty (I'll try again). Apparently, it can be done, though its far from perfect.

A more helpful response might be: yes it can be done, but don't bother; it's not worth the effort. Just use Tomcat.
[ June 27, 2005: Message edited by: Paul Sturrock ]
Sharad Agarwal
Ranch Hand

Joined: Sep 11, 2002
Posts: 167
My first reaction was the same as Gregg: 'Huh?'

The simplicity of the solution in using the Adapter design pattern is quite impressive.


Alco-Haul: We move spirits.
Demented Deliberations of a Dilettante
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet on MS-IIS