Put xml in textarea and wor/pdf file

HEllo everyone (I posted this in java xml but no one replied so I am trying here)
I am developing a small application in which i want to get information from xml file and put it in a text area and also a pdf file.. Is this possible? I know very little about xml and thats why I may be asking this question in the wrong place..
When a user enters a jsp page.. He sees a text box which has a agreement... The user can also click the printer icon which will give him the same text but in pdf/word printable format... Is this possible?
PLease do let me know
Much Thanks!

Why complicate things with PDF? Why not display the text of the agreement in a browser and have the user press the print button on the button bar or give the user a print button that does :
<a href="javascript:void(window.print())">Print this Page</a></p> ?

Similar Messages

  • Put XML in textarea and pdf file

    HEllo everyone
    I am developing a small application in which i want to get information from xml file and put it in a text area and also a pdf file.. Is this possible? I know very little about xml and thats why I may be asking this question in the wrong place..
    When a user enters a jsp page.. He sees a text box which has a agreement... The user can also click the printer icon which will give him the same text but in pdf/word printable format... Is this possible?
    PLease do let me know
    Much Thanks!

    Yes...but do not do it this way...
    You can transform xml to pdf using FOP, iText or GhostScript (maybe others), but for what you want to do it is not the best choice. One reason why; Java does not currently support printing the docflavor PDF. you are prop better of jus using a javascript to print this.

  • I am getting messages that I can't download and read .pdf files since I have the wrong Adobe reader. I know about their security disasters of course, but I downloaded the latest version of Adobe Reader from the Adobe web site and I have other ,pdf file re

    I am getting messages that I can't download and read .pdf files since I have the wrong Adobe reader. I know about their security disasters of course, but I downloaded the latest version of Adobe Reader from the Adobe web site and I have other ,pdf file readers as well, and for some reason they won't work either. I have 5 computers running top end processors and RAM. By this I mean I have one, this one which I am using that has an AMD Phenom Black 3.2 Quad-core with 8 GBs of Corsair top DDR2 RAM, my other two AMD have either an Athlon II triple core with 4 GBs of DDR2 Corsair RAM, one with the Phenom X4 965 3.4 GHz Quad-core with 8 GBs of their best DDR2 RAM, and two Intels with the i7 920 Processors using the triple channel 1366 socket processors and one with 8 GBs of low latency DDR3 RAM and the other with 4 GBs of the same RAM. I am getting the message on this one, which has a fresh install of XP Pro X64 operating system, as do the other 4 as well. I have run Avast Business Pro Anti-virus on this one, which I am getting the message on with a single result which I deleted, and also both Spybot Search and Destroy, which came back clean as well as Malwarebytes Antimalware, which got a lot of tracing cookies now removed, and SuperAntiSpware which also found a few cookies also now deleted. Can you tell me what I need to do to get these files to show as .pdf files rather than as a clean blank page. One other issue is that I wish to know how to turn off my downloads so they are saved and Mozilla will give me the option of returning them instead of me losing them all together as it does now. Thanks for your assistance. If there is another Adobe reader I should download and install, could you provide me with the link to it? I appreciate your assistance here
    == When I download and try to read a .pdf file and when I am asked to turn off all Firefox files and if I do, I lose them since I need to know how to save them without rebooting my computer.

    Brilliant! Problem solved! Thanks so much.

  • I am programming a DVD-Rom in DVD Studio Pro 4 and need to display and open pdf files, any suggestions?

    I am programming a DVD-Rom in DVD Studio Pro 4 and need to display and open pdf files, any suggestions?

    http://documentation.apple.com/en/dvdstudiopro/usermanual/index.html#chapter=22% 26section=9%26tasks=true

  • How can I store and share PDF files via iCloud?

    I am trying to use iCloud to store and share PDF files from my PC, iPad2 and iPhone 4S... They are supposedly supported. I can share .docs, .xls, etc.... However, I cannot figure out how to share a pdf!

    Welcome to the Apple Community.
    You can download an iWork document from iCloud as a PDF, but you can't share a PDF document with iWork apps on iOS devices.

  • How to embed and open PDF files within excel

    I constantly need to embed PDF files onto Excel documents as well as extract/open/view PDF files from Excel documents. I am unable to do so with a macbook, i know that there is a workaround but it's such a tedious process. Is there a software i can buy or setting that i can do so that i can embed and open PDF files easily as i need to view these files multiple times a day for work.
    please advise

    Download and install Adobe Reader: Adobe Reader Install for all versions
    Open the PDF file using it. If security restrictions don't prevent it you could also print it.

  • I am new to the Apple world and yesterday i bought an APPLE IPAD (4th Gen) .. My Question is "Can we connect a flash drive to the IPAD4 and transfer pdf files to and fro"??

    Hi all,
    I am a newbie to the Apple World and Yesterday I bought an APPLE IPAD (4th Generation).. My primary purpose is to read pdf files on IPAD4.
    I have 3 questions ..
    1. Can we connect a usb flash drive to the ipad4 and read pdf files from it?
    2.  I am using windows since 2000 and accustomed to the file explorer and file management in it. Can I get such kind of environment in IPAD4 ?
    3. Do I have to sync the IPAD too often?
    Regards,
    Manikanth

    Sandisk has recently come out with a device
    http://www.sandisk.com/products/wireless/flash-drive/
    Never used it so I can't comment on whether or not it works well. There are very few devices out there that allow file transfer without going through iTunes or via the internet. IMHO, one real weakness of the iPad, great for consuming data, however not very fully featured when it comes to moving data around, especially if that data doesn't come from iTunes or other online source.
    there is also a device called a WiDrive
    http://www.kingston.com/us/usb/wireless
    that is also a wireless drive for iPads.

  • How to set default to convert a document to a black and white pdf file?

    I have dozens of color Word files that I need to convert to black and white pdf files on a weekly cycle.  I figured out that I can do this for individual files by clicking "print", "properties", then choose the "paper/quality" tab, and then click on "black and white".  However, I cannot make the "black and white" selection permanent.  That is, the next file requires me to go through the same four-step process to convert a Word file to a black and white pdf file.  Any suggestions on how to make the "black and white" selection permenant?

    Sorry.  I forgot to mention that I am using Acrobat Adobe Pro 9.4.2.

  • How can i save my work pdf files and personal pdf files separately in my ipadmini

    Hi,
    I would like some help on separating my personal and work pdf files in my ipad. Currently i saved everything in ibook but find it unprofessional when i have to show my clients my work
    Is there any other way to save my work pdf files separately?
    trena.c

    If you still would like to use Ibooks you can add Collections. i.e.. work pdf's
    View your collections, add a new one.
    Now go to the pdf's you want to add to that collection and move them to the new collection you have just created.
    Hope this helps.
    PJRS

  • How do i view and print pdf file in mac osx with ff4.0?

    How do i view and print pdf files in ff 4.0 on a mac with osx. for some reason the updated ff version does not support it. Makes no sense that something that worked in an earlier version now does not...
    Thanks,
    Ron

    Please don't post the same question multiple times!

  • Why can I no longer download and read .pdf files

    I have never had any problems downloading and reading .pdf files until I 'upgraded' the Adobe reader to version 11. Now all attempted downloads fail because "I don't have the necessary helper application or even C:\DOCUME~1\Will-o\LOCALS~1\Temp\Back Channel II - The Vietnam Betrayal - Chaps 1&2.pdf could not be opened, because the associated helper application does not exist. Change the association in your preferences. What in the world is going on and how do I fix it?
    Under 'Tools - Applications - Adobe Acrobat Document, the I've selected 'Use Adobe Reader.' However since I also have Adobe Acrobat 8.3, I've tried substituting that for the Reader, but that doesn't work either. Please help.

    Brilliant! Problem solved! Thanks so much.

  • HT2506 hi i can't seem to copy and paste pdf files from preview to a microsoft word document. it always comes up with nonsense characters in the word document. how do i fix this? thanks in advance

    hi i can't seem to copy and paste pdf files from preview to a microsoft word document. it always comes up with nonsense characters in the word document. how do i fix this? thanks in advance

    Hi,
    The quickest way to do this (tested with OS 10.8.2, MS Word 2011) is in one line:
    tell application "Microsoft Word" to close every document whose name begins with "book"
    The reason why your script doesn't work is that you aren't specifying to Word which document you want it to close.
    So, changing one line ought to do it:
    close document incrementvalue -- instead of "close document"
    But... when you close a document, you change the document count. Document 2 becomes document 1, document 3 becomes document 2 etc. So eventually you'd get a message saying "The object you are trying to access doesn't exist".
    Because of this, if you want to do it in a repeat loop, you have to work backwards:
    tell application "Microsoft Word"
      set doc_count to count documents
      repeat with x from doc_count to 1 by -1
      if name of document x begins with "book" then close document x
      end repeat
    end tell
    Hope this helps.

  • Adobe CreatePDF Basic version - deleting pages in PDF and combining PDF files

    Does the Adobe CreatePDF Basic version allow for pages to be deleted in a PDF file and for PDF files to be combined? Thanks.

    Deletion, no.
    Combination of up to 10, I believe so.

  • Indexing and Searching PDF Files

    Hi All,
    I am trying to store and search PDF files in the oracle database.
    I can insert and index the PDF files just fine but cannot get any result. I always get No Rows.
    Here's what I am doing and the issues I am facing.
    I created a Table with fields
    ID (VARCHAR)
    NAME (VARCHAR)
    DOC (BLOB)
    I inserted the PDF file in the BLOB field through a Java program and insert worked fine as I verified by retreiving the PDF and writing to file.
    I created index using following SQL:
    create index my_index on PDF_TABLE(PDF_FLD) indextype is ctxsys.context
    parameters ('datastore ctxsys.default_datastore
    filter ctxsys.inso_filter');
    The index was created successfully without any problems.
    I ran query as follows and got no rows although the searched text is in PDF
    SELECT SCORE(1), PDF_FLD from PDF_TABLE WHERE CONTAINS (PDF_FLD, 'Table of Cotents',
    1) > 0;
    I tried alternate queries as well with no luck.
    Any ideas ??
    Thanks

    After creation the index you need execute next operations.
    first, check that your index tables conatins indexed terms. Execute
    select token_text from dr$YOUR_INDEX$i;
    Second, you will need to check the index errors table CTX_INDEX_ERRORS. This is owned by the user CTXSYS, and most users do NOT have # SELECT privilege to it by default.
    If it's OK, then check that your PDF documents is supported by INSO filter.
    Citation:
    "PDF - Portable Document Format
    Acrobat Versions 2.1, 3.0, 4.0, and 5.0 including Japanese PDF"
    (Appendix B. Supported Document Formats in Oracle Text Reference 9.2)
    For Oracle 9i you could install 9.2.0.4 patchset (it included INSO FILTER 7.5)
    P.S.
    for the beginning, you could find answers for your question about Oracle Text here
    http://otn.oracle.com/products/text
    Sorry for my English.
    Best regards, Victor Zogin.

  • How can I open and print PDF files?

    How can I open and print PDF files?

    With the free Reader if they are not print protected. With Acrobat otherwise.

Maybe you are looking for