Hello,
I activated my IIS 7.0 Manager and immediately got started with creating server pages. I am currently experiencing problems viewing JSP codes. I wrote a code in JSP just to see if something would come up i.e. "out.println("Hello World")" (obviously with import statements at the top). But no output. The HTML codes that I wrote seemed to output something but the JSP scripts didn't. And I noticed also for example, if I were to link a .html page to a .jsp page by pressing a button, I would get a "do you want to open or save this file" window dialog. I am pretty sure I followed the IIS Manager manual correctly. On the "Turn Windows feature on or off" I clicked on classic ASP under the Internet Information Service->World Wide Web Services-> Application Development Features-> ASP (Classic) . I put both the .html and .jsp files in : inetpub/wwwroot/ , inetpub\temp\ASP Compiled Templates and even in a virtual directory that I created and still no luck. I would really like to know what I am doing wrong.
Edit: Ok, I don't think I'll be getting any answer soon but I think I might know what's happening. I've been searching through the internet and googling stuff and it seems that I am not the only person experiencing this problem. This issue has something to do with IIS itself, it simply... DOES NOT SUPPORT JSP! I was reading an article and a software engineer said,
QUOTE:
Cam,
If you want to run Servlets/JSPs you do not have to
which to using the Apache webserver and you certainly do not have to
use Tomcat.
You could install ServletExec.
ServletExec is a
Servlet/JSP Engine that supports IIS very well (and also support Apache
1.3.x, 2.0.x and 2.2.x, as well as the SJSWS).
The first version of ServletExec to support IIS 7 is ServletExec 6.0.
I recommend using the AS configuration rather than the ISAPI configuration (i.e. SE AS rather than SE ISAPI).
You can download ServletExec 6.0 AS from:
www.newatlanta.com
SE will "snap into" IIS, extending its abilities... allowing IIS to process Servlet and JSP requests.
If you have problems installing then send email to support@servletexec.com
Matt McGinty
Software Engineer
New Atlanta Communications
END QUOTE
Ya, I guess that's some solution. I am about to try it out and see what happens...
EDIT: Ok, I can't get it to work.. does anyone have any ideas on how to make
jsp run under IIS??
Make everything as simple as possible, but not simpler. — Albert Einstein