• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to display jsp page in IIS directly

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
without using tomcat?
many thanks
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
anyone know any of this sort of software?
many thanks
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic