File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Using IIS with Sevlets & Jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Using IIS with Sevlets & Jsp" Watch "Using IIS with Sevlets & Jsp" New topic

Using IIS with Sevlets & Jsp

Claude Nicholson

Joined: Sep 13, 2002
Posts: 6
Ello there,
I got a big problem. If anybody can help release the knowledge. I have an aplication running on a intranet which is hosted by a IIS setup(ie. not my choice).
Anyway the 'boss' wants to integrate some component he got which is in Servelt & Jsp.
[1]Is there a patch that can allow IIs to interpret the java code
[2] If not what can be used to achieve this
Or is the thing hopeless.
ie. Changing the server is not an option
raymond chan

Joined: Sep 09, 2002
Posts: 1
the tomcat can be configured to work with the IIS to run servlets. see tomcat configuration manual for more.
Andy Bowes
Ranch Hand

Joined: Jan 14, 2003
Posts: 171
Bottom line is as follows:
IIS is NOT a Java Web Container therefore cannot serve JSP pages or work with WAR files etc.
A possible solution would be to run a Java WebServer (e.g. Tomcat) either on a separate server or on a different port on the same server and then redirect requests for JSP pages etc to this web server. You might need to be a bit clever to pass details of the user/session info between the servers but it's definitely do-able as I have used this on a client's site who wanted JiveSoftware's discussion forums via their IIS Intranet server.
[ March 13, 2003: Message edited by: Andy Bowes ]

Andy Bowes<br />SCJP, SCWCD<br />I like deadlines, I love the whoosing noise they make as they go flying past - Douglas Adams
Neeraj Arora

Joined: Mar 15, 2003
Posts: 1
There are various engines available which can be combined with the IIS e.g servletexec,etc. Personally when I worked with IIS, I liked JRun 3.0 with IIS. With JRun you can even put your jsp files in IIS folder and the request is automatically handled by JRun.
Claude Nicholson

Joined: Sep 13, 2002
Posts: 6
Thanks guys,
I've been convincing the boss to use Apache with JRun lets see if he comes around. But I'll try the IIS/JRun version and to the seperate servers i'll trying it now.
Try to pass all the values through the address bar. Got to make the links on the intranet dynamic.
No pain no gain -- they say
thanks again
I agree. Here's the link:
subject: Using IIS with Sevlets & Jsp
It's not a secret anymore!