I'm having problems getting my program to write to a file. The character arrays are grabbing the correct information, I can get it to print out to the screen, just not to the file. I've never used FileWriters before, only printed to the screen so I'm beyond stumped. None of the examples I've seen and tried have used. It will make ...
This morning I programed one program this code in one program, but when I compile the program, It was stoped in the "bOut.write(....)" line, It wasn't finish the program. Please, why don't found this code?? here It's the code. byte nbuffer[] = new byte [1024*4]; PipedOutputStream pout = new PipedOutputStream(); PipedInputStream pin = new PipedInputStream(pout); BufferedOutputStream bOut = new BufferedOutputStream( poutStream ...
I have a function called decode(sPDFImage); Here is part of the function: <%!public static char[] decode(String text) { return decode(text.toCharArray()); } %> The sPDFImage is the actual pdf base64 which needs to be converted to binary. Basically, I have the pdf displaying properly in the browser but now I need to write the PDF to a file. I have the code ...