the file is located on the same machine, still it doesn't work.
I use the following stream method in the
jsp, but it is not displaying the html properly.
--------------------------
response.setContentType("text/html");
File file = new File("c:/test.html");
FileInputStream in = new FileInputStream(file);
OutputStream os=response.getOutputStream();
byte[] buf = new byte[4096];
int count = 0;
while ((count = in.read(buf)) >= 0)
{
os.write(buf, 0, count);
}
os.flush();
in.close();
os.close();
--------------------------