Hello,
first my JAVA-knowledge is not the best.
Just enought to handle the most stuff.
Have a programm here which is filled from AS/400 with datas and create an email with an kuempi.pdf as attachment.
This works fine.
The last to codelines are:
But now i want to store this .pdf also to the directory.
Have tried mostly file-output-stuff but either it will not work or i get a error coz NotSerializableException.
Anyone can help me please?
kuempi
first my JAVA-knowledge is not the best.
Just enought to handle the most stuff.
Have a programm here which is filled from AS/400 with datas and create an email with an kuempi.pdf as attachment.
This works fine.
The last to codelines are:
PHP Code:
ByteArrayInputStream bis =
new ByteArrayInputStream(osPdfLGOTF.toByteArray());
mail.addAttachment("Kuempi.pdf", bis);
Have tried mostly file-output-stuff but either it will not work or i get a error coz NotSerializableException.
Anyone can help me please?
kuempi
Comment