(PrintStream ps)
| 433 | |
| 434 | |
| 435 | void send404(PrintStream ps) throws IOException { |
| 436 | ps.write(EOL); |
| 437 | ps.write(EOL); |
| 438 | ps.print("<html><body><h1>404 Not Found</h1>"+ |
| 439 | "The requested resource was not found.</body></html>"); |
| 440 | ps.write(EOL); |
| 441 | ps.write(EOL); |
| 442 | } |
| 443 | |
| 444 | |
| 445 | void sendFile(File targ, PrintStream ps) throws IOException { |
no test coverage detected