How to convert a jsp into a pdf file

Hi,
I am working on a struts based project . In this project i have a jsp which displays table in a nested format , but i have to provide the user a button say
"GET PDF" on click of which that entire jsp should get exported as a .pdf file as it is .
1] I cant use display tag because export functionality is not provided for nested table.
2] I cant figure out how to put an entire jsp as an input stream if i was to use itext (that is if its possible ).
What are my other options ? Bottom line, what i need is to "make a .pdf file of a .jsp displayed, on a click of a button ".
Thanks in advance,
Anjali.

Anjali_Pal wrote:
Hi,
I am working on a struts based project . In this project i have a jsp which displays table in a nested format , but i have to provide the user a button say
"GET PDF" on click of which that entire jsp should get exported as a .pdf file as it is .
1] I cant use display tag because export functionality is not provided for nested table.
2] I cant figure out how to put an entire jsp as an input stream if i was to use itext (that is if its possible ).
To start with it isn't the jsp but rather the output of the JSP that you want in a pdf. The solution to that is that you must provide a method that puts the output into a pdf. Normal solutions for that first start by finding an appropriate pdf library of which there are more than one.
What are my other options ? Bottom line, what i need is to "make a .pdf file of a .jsp displayed, on a click of a button ". Besides finding an existing library you could write your own.

Similar Messages

  • How to scan more pages into one PDF file using hP inkjet 2515

    Dear friend 
    How to scan more pages into one PDF file using hP inkjet 2515 

    Dear friend 
    How to scan more pages into one PDF file using hP inkjet 2515 

  • Quick Tip: How to turn a website into a PDF file | Acrobat X Tips & Tricks | Adobe TV

    In this tutorial you'll learn how to convert a web page or entire website into a PDF file using Acrobat X or XI Std. or Pro.
    http://adobe.ly/zFONn4

    How can i generate pdf from website which requires logon (2 level)?

  • How to convert erl scripts into single exe file ?

    hi
    this is not related to java. Does anybody know how to convert perl scripts into exe file in non-readable format?
    regards
    venki

    I believe that ActiveState used to do a Perl compiler.....not sure if they still do and I don't think it was free anyway. Check around their website...
    http://www.activestate.com/

  • How to get the image into the PDF File, Cut the image into the PDF What acrobat product help to do that?

    I need to cut some image into the PDF file, what Adobe product can help me with it?

    Hi Hugo,
    Please elaborate your issue. What exactly do you want to achieve?
    Regards,
    Rahul

  • How to convert a .doc to a .pdf file

    hi everybody,
    I am a new user of Mac OSX Tiger. Anyone could help me change the extention of a word document into a pdf version, when I try to do so, I manage to convert the document but when I try o open it, the answer is like: adobe cannot open it because it is not a file type supported document or because the file has been corrupted...
    does anyone knows the solution?
    thank you!!!!
    Leya.
    tiger   Mac OS X (10.4.4)  

    Hi Leya;
    There is much more that must be done to a DOC file to turn it into a PDF besides just changing the extension. I don't have Word but I believe if you attempt to print the file there is a button labeled PDF. If you select this opption it will allow you to save the file as a PDF version. If you still have troubles, please let us know.
    Allan
    If you are interested in donating your spare CPU cycles to science, please try
    http://teammacosx.homeunix.com/index.html

  • I have 300  photos in an album how do I turn them into a pdf file?, I have 300  photos in an album how do I turn them into a pdf file?

    I have 300 photos in an album that I want to save as a pdf file. How do I do that?

    Do the following:
    Export them to a folder on the Desktop. 
    Launch Preview. 
    Drag the folder onto the Preview icon in the Dock. 
    Use the File ➙ Print menu.
    In the Print window click on the PDF button and select Save as PDF.
    That will give you a PDF file of 300 pages of all the photos.
    OT

  • How to Convert Bitmap Images into WPF XAML files

    I am tasked with converting about twenty bitmap images into a workable XAML file complete with all of the path statements, line segments, arc segments, etc. Is there a tool out there that take the bitmap image and create an entirely new XAML file?
    Thanks,
    Barton

    Hi,
    maybe:
    http://stevenhollidge.blogspot.de/2012/05/converting-images-to-paths.html
    http://stackoverflow.com/questions/129972/convert-an-image-to-xaml
    http://stackoverflow.com/questions/15082716/can-we-convert-an-image-to-xaml-using-expression-blend
    this is not a trivial task [and maybe beyond the scope of this forum]. If you had some vector image like svg images there might be a control out to use, but with raster images, I dont know of any control or code to use; I *think*, you will have to vectorize
    the image content yourself, which isn't that easy...
    So, is Background and Foreground easily distinguishable? Do shapes overlap? ...
    If there are only some shapes in the image and BG and FG can be separated easily then you could "scan" the image by some chaincode like operation to get the contours/contour vectors and then decide what to do. If there are patterns in BG or FG
    things will become more difficult, you then will have to perform more math-to-image operations and a vector-representation while reading/scanning the image might not be enough (keywords are computer vision, pattern recognition [with multi-linear-forms] etc).
    Maybe an existing computer vision [-able] component loke opencv can help a lot...
    Edit: I just did a google lookup and found eg this:
    http://www.cs.ucla.edu/~dt/theses/vasilescu-thesis.pdf
    I havent read it so far, so I cannot say, if its what you need, but title and a quick view into looks promising/interesting.
    Regards,
      Thorsten

  • How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie

    How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie -  simple answers please - Thanks in advance.

    @Pipeline2007 - which version of Microsoft Office have you got? Older versions of Acrobat aren't compatible with the latest versions of Office, see this link for info:
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html

  • How do I convert a jpeg file into a pdf file?

    I would like to be able to convert a jpeg file, both in Photoshop and outside of Photoshop, into a pdf file.  How do I go about doing that?

    If you don't have Acrobat, you'll need to do it in Photoshop. File>Save as>Photoshop PDF. If it is a cmyk file, you'll need to convert it to rgb first.

  • How can I convert a PDF/A file into a PDF file with Acrobat Pro X?

    How can I convert a PDF/A file into a PDF file with Acrobat Pro X? I'd like to modifiy the file which I have only as a PDF/A.

    There's two answers if you want to modify the file:
    You can temporarily turn off PDF/A Mode in your preferences, so they don't open as read-only. The problem would be if you do something to the file that violated the PDF/A standard, so you should always run a Preflight check afterwards to make sure.
    If you want to remove the PDF/A header tag, use Preflight again - it's on the Print Production Panel in Acrobat X Pro (which may be hidden, use the options menu on the Tools Pane to show it). There's a profile called "Remove PDF/A information" - choose this and press Analyze and Fix. Nothing else about the file will be altered but when you save and reopen it all the editing tools will become active.

  • How do I convert pdf files provided to me on disc in discovery into searchable pdf files?

    How do I convert pdf files provided to me on disc in discovery into searchable pdf files?

    Rick Borstein's Acrobat for Legal Professionals blog can help you with this.

  • How to convert a webpage program into a pdf file?

    how to convert a webpage program into a pdf file?

    Hi Federico,
    ExportPDF is the program to convert PDF into different Formats(Doc, Docx, xlsx, rtf) and not Vice Versa, I would suggest you to use CreatePDF Web application for converting any other format to PDF.
    For more details on CreatePDF
    https://www.acrobat.com/createpdf/en/home.html
    FAQ to be found here:
    http://forums.adobe.com/community/createpdf?view=documents
    ~Pranav

  • How do i convert a word file into a pdf file?

    How do I convert a word document into a .pdf file?

    Hi wertheca,
    If you have Acrobat, (full version), you can convert a file to PDF by choosing File > Create > PDF from File. Then you choose your Word document, and click Open to convert the file to PDF.
    If you don't have Acrobat, you can use an Acrobat online services subscription to convert almost any format of file to a PDF with just a click or two. For more information, see Acrobat Plus, PDF Pack, Export PDF & More | Acrobat Document Solutions
    I hope this helps.
    Best,
    Sara

  • How do I convert an InDesign file into a PDF file, it won't let me do it when I 'Save As'. Help??

    I need help with converting an InDesign file into a PDF file.
    I've tried looking into the program and seeing if i can do it, but it is not giving me the option.
    I need to be able to do this for work purposes.
    Please help.

    Try Exporting. There are also number of useful Export PDF presets that come with design.
    What do you want to do with the PDF?

Maybe you are looking for