only i have bytearrayoutputstream using that how to add water marker and how to write bytearrayoutputstream.writeT(servletoutputstream);
I searched in google, in google i got lot of way to make water marker but thay are using existing pdf so they are using pdfReader to read the pdf but i dont have any pdf now only creating pdf, but i could not use pdfReader, please help me how to add water marker using that bytearrayoutputstream after how to add in servletoutputstream.
yes i got your point but i have only bytearrayoutputstream this is the final stage,to make a pdf i am using bytearryoutputstream,write(servleteoutputstream),so i have to make water mark using that bytearryoutputstream and i have to write same bytearrayoutputstream into servletoutputstream, can you tell me how to do.
Joined: Mar 22, 2005
You can create a byte from a ByteArrayOutputStream (that's the point of a BAOS, after all). Then proceed as mentioned in my previous post.