Buy the book or look it up on the website. No one is going to do
the work for youshow some initiative.
From: Karthikeyan M [mailto:karthikey...@maxval-soft.com]
Sent: Friday, February 03, 2012 2:33 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Insert image
Hi
I need to insert images in PDF and need to provide hyperlink for that image.
Please provide sample code for this.
Thanks.
--
Try before you buy = See our experts in action!
The most comprehensive online lea
Versoft wrote:
> How can i specify the relative location to my web application root
You can ask the Servlet for its context path.
br,
Bruno
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay
The solution I posted should work if you are using a servlet?
>From: Versoft <[EMAIL PROTECTED]>
>Reply-To: Post all your questions about iText here
>
>To: itext-questions@lists.sourceforge.net
>Subject: [iText-questions] Insert Image in PDF...
>Date: Thu, 1 Mar
String imagePath = getServletContext().getRealPath("/") + "images" +
System.getProperty("file.separator") + "logo.jpg";
>From: Versoft <[EMAIL PROTECTED]>
>Reply-To: Post all your questions about iText here
>
>To: itext-questions@list
Hi Friends,
I am using Tomcat for this application and the functionaity requires us to
export the contents into PDF. I need to add a image in the PDF which resides
in /images.
I use the following to export the file...
context.setResponseContentType("application/pdf");
context.addResponseHeader("