Re: SSI + Servlets + IE

I wanted to add, that sometimes I get this error too ...

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

Internet Explorer cannot open the Internet site
http://localhost:8001/servlet/Overview.shtml

The download of the specified resource has failed

==========

Oh, boy, this is giving me major headaches :( !!!!!!!!!!!!

Puzzled, 
Augusto

Augusto Sellhorn wrote:
> 
> 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:55:11 UTC