Try moving your file to
JavaWebServer1.1.3\public_html\mydirectory\Welcome.html
(*Chris*)
----- Original Message -----From: �������� ���������Sent: Wednesday, April 28, 1999 6:44 AMSubject: Use res.sendRedirect or link to open a html file from servlet?Hi,I'm trying to open a simple .html file from a servlet that is running on JWS. I'm using this piece if code:res.sendRedirect("http://localhost:8080/mydirectory/Welcome.html");
but I get a Not Found (404) error from the browser, even if there is the folowing path on the disk: JavaWebServer1.1.3\mydirectory\Welcome.htmlDo I have to place mydirectory\Welcome.html elsewhere relative to the JavaWebServer1.1.3 directory?I have the same problem when I use this piece of code as well:out.println("<HR><A HREF=../mydirectory/Welcome.html>Go Home</A><HR>");When I click to the link I get the same error.Theo
