Re: HTML in Java



On Tue, 25 Oct 2005 18:50:59 +0200, Huub <"v.niekerk at hccnet.nl">
wrote, quoted or indirectly quoted someone who said :

> FileInputStream fis = new FileInputStream(selectedFile);
> InputStreamReader isr = new InputStreamReader(fis);
> BufferedReader br = new BufferedReader(isr);
> String str;
> while ((str = br.readLine()) != null)
> {
> sb.append(str);
> }
> fis.close();
if you think the problem is with this code, you need to see if that
hypothesis is correct.

You would do that by adding the line

System.out.println( sb.toString() );
on the end.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.