Hi,
I have a Java Servlet that writes results from a form to a text file.
FileWriter fw = new FileWriter("results", true);
PrintWriter pw = new PrintWriter(fw,true);
pw.print("data");
I ran the servlet on my home computer (using the web server provided by the jsdk) and it...
Exception in thread "main" java.lang.OutOfMemoryError
<<no stack trace available>>
... my program is just parsing a text file of about 200 lines. It looks for the following character ".
Anybody had this problem before?
Hi,
I am having problem reading from a file. I use StringTokenizer to parse the file and find the word that I am looking for. The problem is that the word is never found; I know its there because I opened the text file.
Since the text file was generated by Windows, I think that there are some...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.