File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display jsp page in IIS directly

 
amanda wu
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
without using tomcat?
many thanks
 
Manni Chiahan
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4313
Android IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Noman Iqbal
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well Friends, some body told me that there is some sort of plug-in available for IIS to execute JSP.
 
amanda wu
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone know any of this sort of software?
many thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Phil Chuang
Ranch Hand
Posts: 251
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 251
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic