#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    1
    Rep Power
    0

    try to open HelloWorldExample, but browser try to download the page


    When I try to open the page IE try to download the page.

    What could be?

    thanks a lot
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Location
    Orlando FL
    Posts
    130
    Rep Power
    13
    What is the exact path you typed in IE?

    Are you running Tomcat's default example? It usually give a error instead of downloading file. Make sure you have the tomcat server running and your example application is also running as well.

    A default localhost install will have Path: http://localhost:8080/examples/servl...loWorldExample
    Help me, help you, help others...
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Location
    Miami, FL
    Posts
    1
    Rep Power
    0
    The fact that your browser tries to download the page means Tomcat/Apache is not recognizing your page as a jsp, but rather as a file of .jsp extension, and so when IE sees it without the proper headers, it goes cocooed. Make sure your context path is setup correctly. Obviously your web server is running because it returned the file, just plain text without processing it.

IMN logo majestic logo threadwatch logo seochat tools logo