W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1999

SSI + Servlets + IE

From: Augusto Sellhorn <asellhor@ccd.harris.com>
Date: Wed, 14 Jul 1999 13:33:22 -0400 (EDT)
Message-ID: <378CCA1F.59A878E6@ccd.harris.com>
To: www-jigsaw@w3.org
This is the weirdest thing in the universe.

I have some .shtml pages with servlets embedded on them. They work
perfectly under Netscape (4.5) but under IE I get one of these
errors ...

1) It downloads the page for a while, like downloading some big tar
   file

2) It says something about it not being able to download that 
   resource (!??!)

3) Loads most of the page and breaks when it hits the servlet portion
   of it.

I have no idea what's going on here , please help !!!

BTW - I get the error on IE 5.0/NT

=============================================================
Here's the HTML

<html>
<title>
SSI TEST
</title>
</head>

<body>
There should be a welcome message in bold after this line ...<br>
<!--#servlet name="work_darnit" code="/servlet/IncludeServlet" -->

<br>Well. Is it there ?

</body>
</html>

============================================================

Here's the servlet

import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class IncludeServlet extends HttpServlet
{
        static Vector history = new Vector();

        public void doGet(HttpServletRequest req, HttpServletResponse
res)
                throws ServletException, IOException
        {
                PrintWriter out= res.getWriter();

                out.println("<B>HELLO WORLD !!!</B>");

                out.close();
        }
}
Received on Wednesday, 14 July 1999 19:54:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT