How to convert a JSP page into a PDF file?

I am calculating and generating a bill in JSP?
I want the output JSP page from the server to get converted to a PDF file.
How to do this?
Please help me doing this!

Hai CeciNEstPasUnProgrammeur
Actually I didnt mean what you are asking?
I will put it in this way,
I am having a JSP output.
If I save that page in the browser it should get
saved as a PDF File,
This is my problem,As far as I can see, you have two options:
1) Ensure you have some kind of rendering tool installed on the server, render your JSP to that engine, capture the output as an image and transform the image to a PDF. Or a variation on that server-side theme.
2) Take the data you would be/are pushing into a JSP, offer a "download" facility that just takes that data and wraps it into a PDF. Your server then serves out that PDF file.
To save the browser view (your JSP) as a PDF each client machine would need to be set up with some mechanism to capture and save as PDF. You can't control that.
I've had to do something similar in the past. In that case though we had a simplar task of just generating a stored HTML file that we could store in the DB and lock down. Our approach was to use XSLT over the generated XML data structure.
I'd advise you doing the same and generating an XML file and then running an XSLT/FO process over it to generate your PDF file. Don't try to do all the fancy stuff on the client environment, that's an environment you usually have very little control over.

Similar Messages

  • How do i scan multiple pages into one pdf file

    How do I scan multiple pages into one pdf file?

    That depends on your scanning software. Adobe Reader doesn't scan.

  • 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 scan multiple pages into one pdf file using the PIXMA MG7520 on Windows 8.0? Please help!

    I recently received a PIXMA MG7520 for a gift.  It works great with my lenovo laptop/tablet running on Windos 8.0.  The one drawback to the HP all-in-one that it replaced is it does not have an ADF.  That being said, there must be some way to scan multiple pages into one pdf file.  I need help figuring thing out.  Thanks in advance!
    Solved!
    Go to Solution.

    Hi mdtolbert54,
    There is a program that comes with the printer called the IJ Scan Utility that can assist you with scanning multiple pages into a single PDF document.  To do this, please follow these steps:
    1. On your keyboard, press the Windows key.
    2. Start typing IJ SCAN UTILITY. The search window opens as you type. Once the IJ SCAN UTILITY is displayed, please select and open it.
    3. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
    4. Click the DOCUMENT SCAN option on the left pane of the window.
    5. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
    a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file.
    b.) In the DATA FORMAT field, use the drop-down arrow to select the PDF (Multiple Pages) option. 
    c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the MY DOCUMENTS folder.
    6. Once all settings have been selected, click the OK button at the bottom of the window to save the changes. The IJ Scan Utility main screen appears.
    7. Click the DOCUMENT button. Scanning starts. Click the CANCEL button to cancel scanning if needed. Scanned items are saved in previously selected folder location specified in the SETTINGS... window.
    If you find that you need advanced scanning options such as adjusting resolution, brightness, contrast, saturation, color balance, etc. in addition to the options selected above, please click on the SCANGEAR button on the IJ Scan Utility Main screen, then adjust the items as necessary.
    Once the items above are set for document scanning, in the future, you will only need to launch the IJ Scan Utility, then press the DOCUMENT button to perform the scan (unless you want to make changes to the settings).
    Hope this helps!
    This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How to convert a Jsp page in a Pdf

    Hi!
    I have a problem. I need to convert the content of a Jsp page in a pdf , clicking a link.
    Anybody knows how i can do it?
    Bye

    Google for iText.

  • How do I insert a page into multiple .PDF files?

    Hi everyone, I have several hundred PDF files every month, and I need to insert a page at the end of each document.
    The files and insert are in PDF format. What is the easiest way to do this?
    I am using Acrocrbat 10.
    Thank You

    If you have Acrobat X Pro, and the PDFs aren't secured, it's easy to do it with an Action.
    File > Action Wizard > Create New Action
    Set "Start with" to "Ask" so you can choose a folder each month
    From the panels on the left, choose Pages > Insert Pages
    Click the Options icon, choose the file containing the page you want to insert, then set it to After / Last Page
    Set the Save To options to suit what you want.
    Now you can run the Action against an entire folder of PDFs.

  • How to convert a word document into the PDF format?

    Please instruct me step by step on how to convert several Word documents into the PDF format?

    If properly installed and updated (depending on the WORD version), you can simply do any of the following:
    1. Open the doc in WORD and select Print, choose the Adobe PDF printer, print.
    2. Open the doc in WORD and go to the Acrobat menu in WORD and select create PDF (this uses PDF Maker).
    3. Open the doc in Acrobat and the conversion should be done based on PDF Maker.

  • How to convert a protected document into a PDF?

    Hello,
    I need to develop a plugin that needs to convert a protected document in office format into a pdf. I looked into the sdk and found the method AVConversionConvertToPDFWithHandler (). But can this method also apply the digital rigths of the protected document to the newly created pdf?
    Is there any other way to convert a protected document into a pdf and at the same time apply the rights to the pdf? I don't want to use Adobe LiveCycle for digital rights management.
    What are the requirements to develop a DRM plugin for acrobat?
    Please Help!
    Thanks in advance!

    The AVConversion APIs will use Office itself to perform the conversion (well, the rendering part).   I would ASSUME that when Office opens the document, it will ask for any necessary passwords or other information to determine if the user has the rights to view and/or process the content of the document.  If they do, then the conversion will succeed otherwise it will fail.   The PDF will not have any DRM applied to it, since we don't know anything about the Office DRM options.
    If you wish to apply DRM to the PDF, you will need to do that yourself or using tools such as LiveCycle Rights Management.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 29 Nov 2011 02:26:37 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: How to convert a protected document into a PDF?
    How to convert a protected document into a PDF?
    created by poortip87<http://forums.adobe.com/people/poortip87> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4051919#4051919

  • 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 

  • How can I delete a page in a pdf file I received?

    How can I delete a page in a pdf file that I received? I only have Adobe Reader X.

    Thanks very much for your help.  I’ll look into Acrobat.  Have a great week.
    Stephen E. Hincks, Sr.
    (cell) 301.346.6110

  • How to save a single page in a pdf file

    how to save a single page in a pdf file?

    I also need to do this so i can send portions of a large fax file.

  • How to transfer a mac document into a pdf file to open on a microsoft computer.

    how to transfer a mac document into a pdf file to open on a microsoft computer.

    Choose to print it, click on PDF, and then Save as PDF.
    (113984)

  • How do I extract 1 page of a pdf file? How do I send that as a original for mac and windows users?

    How do I extract 1 page of a pdf file? How do I send that as a original for mac and windows users?

    This is not really a Numbers question.  I will provide an answer but suggest you make the question relavent for the forum where you post.
    1) Open the PDF in Preview
    2) select the menu item "View > Thumbnails"
    3) select the page you wnt to share
    4) copy (by using the key combination <command> + c OR select the menu item "Edit > Copy"
    5) select the menu item "File >  New From Clipboard"
    6) save as a new name
    7) share the new file

  • How can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    how can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    let's say a registration form, there is only 1 full address provided in my registration pdf, but applicant could have more than 1 address, so i have to make it more flexible to extend the address page no matter how many addresses that applicant provided, i have use adobe acrobat pro to edit the form properties. but dont know how to extend/duplicate a page in felxible times.
    Please advise~ tks so much!!! George

  • How to convert a .jsp page in to the .txt page with a click of the button

    Hi Sir,
    Here the main thing is that in order to print a web page(.jsp page) in dotmatrix printer i need to first convert that webpage (.jsp page) in to .txt page.But my doubt is that can you convert a .jsp page in to .txt page with a click of a button so that whatever there in .jsp page has to be completely transferred in to .txt page if so then in that .txt page i need a button when i click it the page need to be send to the printer without using the file menu print option.First i need to know whether it is possible in java?If so please do help me by providing the exact code.If it is not possible in java pls.do provide other option.It is very urgent.Thank U.
    Regards,
    m.ananthu

    We can convert a .JSP page content into a .txt file by using MIME type conversion. In this scenario we cannot provide a button, because its an .txt file (not .JSP).
    If you want to print JSP content into a .txt content along with a button to print that page can also be done.
    -Chandra

Maybe you are looking for

  • How can I get all of my calendars and recurring events to synch via iCloud with my iPad2?

    Not all of my recurring events sych via the iCloud with my Mac and IOS devices - most specifically my iPad2. For example, my anniversary appears on my Mac and my iPhone, but not on my iPad2. I notice that when I click on "Calendars" when the iCal app

  • Attachment name in mail sent through Bursting

    Hi Gurus, We have a requirement to Burst the output of a program and store the file in UNIX as well as mail. But the file name in UNIX is different from the one that has to appear in e-mail attachment. I am only able to set the file name same for UNI

  • Missing links in Indesign CS6!

    Good morning! Yesterday, my workmate and I did a .indb file in Indesign CS6. That .indb (book) is made of several .indd files (documents). So far so good. Then, after it was ready, we linked all images (using the Links panel) to each .indd and then w

  • How do I change the name of my bluetooth keyboard on my iPad?

    I recently was awarded a grant to buy a class set of wireless bluetooth keyboards for my classroom (26). Since I teach at a middle school, the idea of all my students pairing at the same time gives me nightmares. I took the set home and attempted var

  • According to our records, this serial number is registered to another Apple ID.

    I bought an iMac from an ARC thrift store that had been donated.  When I try to register the iMac to my AppleID to see if there's any Applecare left I get the message "According to our records, this serial number is registered to another Apple ID."