e bit work fine, now I want to do is, insert a another page to this
above pdf file that I open and send the combined PDF into the bitestream,
how can I do that? Can you able to provide me an example to add this second
page? Or where in above page that I have to added into.
Regards,
Dilan
} catch (IOException e) {
logger.error("Error reading bytes", e);
}
return bytes;
I have try the PdfCopy, I'm not sure where did I went wrong,
But its gives an corrupted pdf, it works fine without the new code section,
All the above debu
For example, if I open two input streams, for each document, input1 and
input2 as two document, how can I combine them as two pages, and send to
output stream? Please help :)
Dilan
---
This SF.Net email is sponsored by xPML, a groundbreaking scri
Hello,
..
How can I get PdfStamper to work without a OutputStream?
If I do this, not work (empty file)
BufferedOutputStream baos = new BufferedOutputStream(new
ByteArrayOutputStream());
PdfStamper stamper = new PdfStamper(reader, baos);
AcroFields aform = stamper.getAcroFields();
Or
int
/ not working,
Can you able to give me any tips to fix it, I want it to be work as above,
where, setting the response.getOutputStream(); only within action map,
without passing to the method.
Regards,
Dilan
---
This SF.Net email is spon
Hello,
I have this simple java code,
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {
Try {
OutputStream out = response.getOutputStream();
String CONTENT_TYPE = "applica
Hello,
Im wondering, if anyone have done any program to output pdf from the
http://jakarta.apache.org/velocity/
if there is, can you able to help me through how it works or some example
codes regards this,
thanks
dilan
---
SF.Net email
Hello,
I’m trying to edit a pdf which is saved in the database, first read it into a
inputstream, then to the pdf reader, I cant get it to read the inputstream into
the pdfreader
InputStream input = new ByteArrayInputStream(af.getImg());
Document document = new Document();
try {
//im g
onse.getOutputStream().flush();
Regards,
Dilan