W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1998

Servlets problem in IE4 only

From: Roman Dusek <dusek@kolej.mff.cuni.cz>
Date: Tue, 02 Jun 1998 00:22:47 +0200
Message-Id: <199806012222.AAA08691@mail.kolej.mff.cuni.cz>
To: Jigsaw conference <www-jigsaw@w3.org>
I've got a strange problem with servlet invoking by SSI. I've written a
very simple servlet:

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

public class TestServlet extends GenericServlet  {

public void service(ServletRequest req, ServletResponse res) 
     throws ServletException, IOException {

	System.out.println("TestServlet started.");
	PrintStream out = new PrintStream(res.getOutputStream());
	out.println("Hello World!");
	System.out.println("TestServlet finished.");

 public String getServletInfo() {
   return "Hello World Servlet";

and successfully installed it in /servlets/TestServlet. I have no problem
to access it directly (http://localhost/servlets/TestServlet). I've also
written a html file that tries to invoke it by SSI call:

<!--#servlet name="TestServlet" code="/servlety/TestServlet" -->

- the strange thing is, that this resource (of course I've got an SSIFrame
attached to it) works with no problem in Netscape v. 3 and 4, but it
doesn't work in Internet Explorer 4 - I am getting one of the following
message boxes:

"Internet Explorer cannot open the Internet site http://localhost/test.shtml.
The downloaded file is not available. This could be due to your Security or
Language settings or because the server was unable to receive the requested


"Internet Explorer cannot open the Internet site http://localhost/test.shtml.
An internal error occured in the Windows Internet extensions."

I tried to change the extension of "test.shtml" to "test.html", but the
result was still the same. Maybe another important thing is that Jigsaw
doesn't show any error (even in its trace mode).

Does anybody know what could be the problem?

R. Dusek
Received on Monday, 1 June 1998 18:22:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:32 UTC