- From: Roman Dusek <dusek@kolej.mff.cuni.cz>
- Date: Tue, 02 Jun 1998 00:22:47 +0200
- To: Jigsaw conference <www-jigsaw@w3.org>
Hi, 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: ----------------------------------- <body> <hr> <!--#servlet name="TestServlet" code="/servlety/TestServlet" --> <hr> </body> ---------------------------------- - 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 file" OR "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? Thanks, R. Dusek
Received on Monday, 1 June 1998 18:22:29 UTC