PDF servlet, freezing on save not open.

I have a servlet that generated Reports in PDF format, the report is written to the output stream and generated as an attachment, not inline. My problem is if I choose to save the document it freezes the application, but if I open it, it's all ok. Does anyone have any idea, how to remedy this problem?

Ok, I used this as a reference http://www.onjava.com/pub/a/onjava/2003/06/18/dynamic_files.html. When the file is generated as an attachmen, the user is given the choice of opening, saving the file as if he clicked on a url to dowload file. When it's generated inline, it is opened within the browser. And I'm using IE, I'm gonna repeat the same procedure in netscape and see what goes.

Similar Messages

  • Pdf and vector files will not open in Adobe Illustrator after Yosemite Update

    I updated my OS on recommendation from apple. Pdf and vector files will not open in adobe illustrator now. Am i using the latest OS?

    Linda Feltner wrote:
    > I cannot import or open vector files in Freehand 10. I
    just get large
    > Xs instead of the image. I have a MAC OS 10.3.9,
    Freehand 10. I'm
    > trying to import some small files that are either .ai or
    .eps files
    > (all are vector) that open fine in Illustrator 10 (so I
    know they
    > work), but I can't use them in that program. I've tried
    adjusting in
    > Freehand Preferences the 'convert editable EPS files" ,
    on and off. I
    > tried adjusting the 'Embed...." selection on and off.
    Can anyone tell
    > me what thing I'm doing wrong. I have two files, they
    are map
    > boundaries, that need to scale and adjust their color
    and line width
    > over an aerial map. This can't be difficult, but I must
    be
    > overlooking something. Many thanks in advance. Linda
    >
    Freehand can't convert EPS files into editable vectors. I
    usually run
    EPS files through Illustrator and then into Frehand. If you
    don't have
    Illustrator you can convert the EPS into a PDF and that
    Freehand will
    sometimes convert into editable vectors (though it does
    involve a lot
    more clean up than going through Illustrator.)

  • Is there any methods to fix PDF file if it does not open in Adobe Reader?

    How to repair PDF file what I can not open in Adobe Reader?

    Here we provide PDF repair tool, if you want to repair your corrupted PDF files which may be corrupted due to virus attack accidental system shutdown and any other reason, then I would advise you to try this third party tool
    Repair Damaged PDF FIle  it can repair corrupt pdf files instantly and without errors.
    Hope this tool help you
    Thanks....

  • When I click PDF file, the file does not open and  installation software for creative suite automatically begin to start. Even after re-installation of creative suite 5.5, only acrobat reader dose not work and the same phenomena occurs.

    When I click PDF file, the file does not open and  installation software for creative suite automatically begin to start. Even after re-installation of creative suite 5.5, only acrobat reader dose not work and the same phenomena occurs.

    Did you ever install Acrobat? It is not installed automatically with CS, but requires an extra installation step.

  • PDF Action configuration window is not opening

    Hi ,
    I am working on xMII 12.0.In the Logic editor PDF Action blocks when i click on configuration , window is not opening.But the Link editor is opening.It is only for PDF action blocks.can any one tell me the solution for this.
    Thanks&Regards
    Guru.

    I have sorted it. I played about with the apps window and found that PDF files were listed seperately to other adobe types in the list.
    With a bit of trial and error, I discovered that by setting the download window to open and save file in c:users/user/downloads, along with setting PDF files to 'always ask' in the apps tab - it worked again.
    Still don't know how it managed to change itself in the first place though!

  • PDF e-mail attachment will not open after FF update

    FF 31 and/or 32
    Outlook or GroupWise fat client
    PDF attachments
    After FF updated PDF's were re-associated with FF not the installed PDF program. Used Windows to re associate PDF's to PDF program. No problem, all PDF's open in PDF program UNLESS the PDF is an attachment in an e-mail.
    Open e-mail fat client (doesn't matter the client) try and open the PDF and user gets message stating there is no program associated with attachment. Yet, all PDF's still open with correct PDF program as long as they are not in the e-mail. Now here's the really weird part.....
    If there are two or more PDF's attachments in the same e-mail the first one will not open but the second, thirds, etc attached PDF's will open with the correct PDF program.
    The only temporary solution I have found is to uninstall FF, re-install it and for a 1/2 day the issue goes away. I have not figured out the trigger that resets the issue.
    FF is my go-to browser, but since v 31 this has been happening and if it keeps up, I'm switching to Chrome.
    Come on Tech Support, help us out with this issue.

    Sorry you're having this problem. I think it was previously reported only by Windows XP users.
    When you reinstall, were you making Firefox your default browser? Some users have reported that ''not'' making Firefox the default browser was an effective workaround.
    However, you may have success with this approach, suggested by a user in another thread, which appears to more thoroughly update the Windows registry:
    # Open Adobe Reader / Acrobat
    # Edit->Preferences
    # In the Categories column click 'General'
    # Near the bottom of the page click the button marked 'Select Default PDF Handler'
    # In the dialog, select 'Adobe Reader XI' (or Adobe Acrobat, as the case may be) and click 'Apply'
    # A Windows Configuration screen will appear. Allow it to do its stuff (takes a few minutes), then restart your computer when prompted.
    Does that resolve the issue for you?

  • PDF files on FTP will not open correctly

    Our PDF files open fine from local hard disks, and http locations.  However, We are having trouble opening PDF files from a FTP server.  After double-clicking on the file, the Adobe 'grey' background loads, and nothing else.  At first time it opened fine in all computers, but afterwards it will not open. If we download the files from the server, the same file opens fine. We have tried in different OS like XP, Windows 7, windows 8 with different browsers. same problems occurred.
    In all cases, the installed adobe reader was Adobe Reader 9 and above(9, 10&11). After we got one solution that to disable "Protected mode" in reader settings. If we disable protected mode, it is fine.
    But the issue is, we have to provide those PDf files to our customers through our website. So we cannot disable it in customer's pc. Any alternate solution for this problem?
    Why this problem occurs? How we can overcome from this error?

    I cannot reproduce this problem with Reader 11.0.2 in Firefox 20.0.1 or IE8 on Windows XP (Protected Mode enabled).
    The document I am accessing is ftp://ftp.adobe.com/pub/adobe/acrobatreader/win/5.x/enu/reader.pdf
    I have no problems access it mutliple times.

  • Pdf files are downloading and not opening

    Firefox on Android was; when viewing a web page with a link for a PDF would simply prompt you to open with, I select Acrobat and it opens.
    Now, the PDF ALWAYS downloads - not acceptable.
    This was working as expected just 2 weeks or so ago; what's changed?
    PS - I did try the PDF add-on which sort of works, but performance is so bad it is unusable.

    Thanks Philipp.
    I was using FF with a local web site canned on the SD card of my tablet, and it has a lot of PDF collateral for quick viewing when there is no Wi-Fi.
    Firefox was the only Android Browser that worked with a local web site fully contained on the SD card or Local storage. Bummer.

  • I have adobe reader and pdf files will preview but not open

    Suddenly today I was trying to open pdf documents and they show up in the preview pane but will not open.

    Have you read this article: [[Opening PDF files within Firefox]]

  • HT3659 Why would Soundtrack Pro freeze up and not open?

    Why would Soundtrack freeze and not open?

    Well, it's still going to be only a 32 bit program, but first go to Edit>Preferences>General, click this button and restart the editor:
    Then go back to the preferences>Performance and increase the amount of ram available to PSE.

  • When save as pdf, the dialog windows does not open. What is wrong?

    Working in illustrator, when saving time choose save as and click pdf, what is expect is, "the dialog box that  enable me to choose the quailty in pdf"  but it (the dialog box) does not appeared today. It still works yesterday. What went wrong? Please help.

    Your Mail is not gone. The problem you are having following the upgrade to Leopard (10.5.6) from Tiger, is probably what has been covered by the support document at the link below:
    http://support.apple.com/kb/TS2537
    If you also find any files named to include MessageSorting (which would mean you once have upgraded from a version of OSX earlier than 10.4), remove those, also, but never restore those.
    To find the correct location for the Mail folder, open a Finder window, click on the icon of a house in the Sidebar (this is known often as "Home"), click on Library in that Home user directory, and then to open the Mail folder found there.
    Ernie

  • File created with Oracle PDF driver 1.1 does not open

    When opening a PDF file in particular, the following error is generated:
    "Failed to open document. The file is damaged and can not be repaired."
    The file can be viewed with other viewers correctly.
    When you open it with a text editor, the first line contains the following information:
    % PDF-1.1
    1 0 obj
    <<
    / Creator (Developer 2000)
    / CreatorDate (
    / Author (Oracle Reports)
    / Producer (Oracle PDF driver)
    / Title (Cpr4005.916.pdf)
    >>
    Is there a patch for Acrobat to open these files?
    Thanks.

    File contains no space.
    %PDF-1.1
    1 0 obj
    <<
    /Creator (Developer 2000)
    /CreatorDate (
    /Author (Oracle Reports)
    /Producer (Oracle PDF driver)
    /Title (Cpr4005.916.pdf)
    >>

  • Some PDFs posted on websites are not opening, not downloading.

    I am using Adobe Acrobat Reader XI, on an I-Mac running Mac OS 10.9.3. My browser is almost always Safari 7.0.4
    When browsing recently, I have tried to download PDFs from known, safe, often used sites. Some of the PDFs have tried to open/load ... but all I get are a grey box/window ... and the PDF is not in my downloads folder.
    Other PDFs are opened & saved perfectly.
    [PS I still have several older versions of reader still on my hard-drive (7, 8 Pro, and 9) but 11 is actually on my Dock.]

    Hmmm, what sites in particular?
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.

  • I click on .pdf files and they do not open or download...anyone have any ideas? MAC 10.6.8 Firefox 12.0

    I went to a site and downloaded a .pdf. The next day I updated firefox and when I went to the same site later in the day, I clicked on the .pdf and it did not download or open. I am using firefox 12.0 and mac 10.6.8

    Awesome! Works great now! Thanks

  • PDF link to reveal file, not open file?

    Does anyone know if it's possible to create an interactive pdf in indesign that has a button reveal a file in the finder? instead of opening the file?
    thanks
    dave

    That's not a feature of interactive PDF.
    Ask in the Acrobat Scripting forum to see if that could be done with JavaScript within Acrobat. Definitely could not be done in InDesign.

Maybe you are looking for

  • A tough one for EJB experts - Stateless session bean spec question

    I am busy learning more about EJBs and came across something confusing regarding the legal operations in the various container callback methods for stateless session beans. Specifically, the EJB spec states that in the ejbCreate() method, the Session

  • NForce MB - Problem connecting to AT&T Broadband using on-board NIC

    I can't seem to stay connected to my AT&T Broadband connection using the NForce's Onboard ethernet connector. Looking at the details from running ipconfig /all, my computer reports a MAC address of 00-00-00-00-00-00 Is this normal? Is there anything

  • Force internal speakers

    Hey there, The pin of my speakers broke inside of my Audio Jack. My warranty has expired and I am not able to get the pin out. I would like some help on this matter. So, I tried forcing my mac to revert all sound through the internal speakers. Since

  • Does the CC Teams membership allow others within the company to utilize the apps?

    I am the Marketing Coordinator for a small business and am very interested in purchasing the team subscription for Muse, Photoshop, Illustrator, etc. Although I would be the only member using these apps our company does use Adobe Acrobat across the b

  • Editing a MS Excel worksheet in Sharepoint

    I am using MS OFFICE Standard 2010. When I go online to our sharepoint site and select a document to "Edit in Microsoft Office Excel" I get the following error message: The document could not be opened for editing.  A Windows Sharepoint Services comp