aspose file tools*
The moose likes JSP and the fly likes how to display jsp page in IIS directly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to display jsp page in IIS directly" Watch "how to display jsp page in IIS directly" New topic
Author

how to display jsp page in IIS directly

amanda wu
Greenhorn

Joined: Mar 16, 2003
Posts: 25
without using tomcat?
many thanks
Manni Chiahan
Greenhorn

Joined: Apr 11, 2003
Posts: 7
I'm just starting to learn this,
but I don't think you can do it.
I think IIS does not support jsp and you need a middleware peice.
the process seem to go like this.
1. the browser sends a request address (http://localhost/index.jsp) to the IIS
2. iis reads that is a .jsp and attemps to forwards the request to the middleware (tomcat, websphere, etc)
3. tomcat compiles the .jsp and places the compiles page somewhere /_index.class
4. ?? IIS processes that page and send responce to the browser ??
Manni
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

Manni's got it right. IIS by itself can't execute a JSP or Servlet. You need to get a J2EE compatible Application Server (doesn't neccessarily have to be TomCat).
So, yes, you can execute a JSP without Tomcat, but you do need SOMETHING -- like JBoss, WebLogic, or Resin...
Here's a whole list of compatible app servers


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
Noman Iqbal
Ranch Hand

Joined: Jun 25, 2001
Posts: 99
Well Friends, some body told me that there is some sort of plug-in available for IIS to execute JSP.
amanda wu
Greenhorn

Joined: Mar 16, 2003
Posts: 25
anyone know any of this sort of software?
many thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

Ummm, yes... Tomcat, JBoss, WebLogic, Resin and a host of others. As stated before, IIS is incapable of serving JSP on its own and needs to use one of the JSP-capable servers. Setting one of these up as an IIS "plug-in" is something I vaguely remember (not fondly) from a few jobs ago where we used IIS and JRun.
Btw, currently use Apache/Resin combo.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Phil Chuang
Ranch Hand

Joined: Feb 15, 2003
Posts: 251
I'm currently running Tomcat in-process from IIS - which means tomcat is started up when IIS is started. Getting it running involved a long and complicated process of finding out-of-date instructions by google, then a lot of trial and error. But once it got set up, everything runs nicely
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12803
    
    5
You didn't happen to distill your notes on getting Tomcat running with IIS to a convenient page somewhere did you?
Bill
Phil Chuang
Ranch Hand

Joined: Feb 15, 2003
Posts: 251
Actually, I did put together a zip file with installation notes and files needed, but be warned it has not worked for everybody. I will post it to a public site when I get home.
Gayathri Neti
Greenhorn

Joined: Mar 08, 2002
Posts: 25
Please Phil, Do POST IT. I am right now, at the end of developing my application in JSP, TomCat4.1.18 and MySQl with JavaBeans.
I would like to host the application in IIS environment.
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to display jsp page in IIS directly