« Previous Next »

Answered Thread: Cannot view jsp code on IIS server

Last post 07-08-2009 5:01 PM by mcgintym. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 03-07-2009, 7:42 PM

    Cannot view jsp code on IIS server

    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
  • 03-09-2009, 1:32 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,420

    Answered Re: Cannot view jsp code on IIS server

    Hi based on your description, I suggest you contact Matt for instructions. Or you can check ServletExec documentation, forum, and mail list.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 07-08-2009, 5:01 PM In reply to

    • mcgintym
    • Not Ranked
    • Joined on 10-18-2007, 12:21 PM
    • Posts 5

    Re: Cannot view jsp code on IIS server

    Have you emailed your issue to support@servletexec.com?

    Have you gone through all the steps in SE FAQ #7:

    http://www.newatlanta.com/c/support/servletexec/self_help/faq/detail?faqId=7

     

    Matt McGinty

    Software Engineer

    NAC

Page 1 of 1 (3 items)
Microsoft Communities