Answer»
- The infinite FILE error can be SOLVED when the data will be read continuously from the file.
- The error can be solved by using the KEYS that provide only the RESOURCES that are required.
- The following program is as follows:
osw.write ("HTTP/1.0 200 OKnn"); while (c != -1) { sb.append((char)c); c = fr.read(); } osw.write (sb.toString());
- This CONVERTS the requested file in such a way that if the file exists it shows the messages as ok otherwise it shows an error.
osw.write ("HTTP/1.0 200 OKnn"); while (c != -1) { sb.append((char)c); c = fr.read(); } osw.write (sb.toString());
|