A download jsp error  with weblogic6.1

I have a jsp like follows:
<%
String filename = "200352491128.pdf";
String filepath = "e:\xmldb\";
response.setContentType("application/x-download");
response.setHeader("Content-Disposition", "attachment; filename="" + filename + """);
java.io.FileInputStream fileInputStream = new java.io.FileInputStream(filepath + filename);
int i;
while ((i=fileInputStream.read()) != -1) {
out.write(i);
fileInputStream.close();
out.close();
%>
When I run it in Tomcat,it work well.But in weblogic 6.1 it has some problems.It can't download documents including pictures.that is,when I try to download doc or pdf with text contents it work well.But if these doc or pdfs have picture contents the problem is coming.The download file is a little larger than the source file and then can't display correctly.

Does anyone know this problem?Pls help!

Similar Messages

  • Download/Install Error with Creative Cloud App

    I have Windows 7... I have been a Creative Cloud member since the beginning... I know what I am doing. Anyways... suddenly, the Creative Cloud app that keeps track of your apps and updating them, etc. is jacked up. As far as I can tell, nothing changed on my end... perhaps Creative Cloud updated itself and caught a bug? When you go to the Apps tab, it says, "Download error, the Creative Cloud installation is no longer functioning, please uninstall and download again..." which I did twice now... rebootted and all that good stuff... the other tabs work - ie. Home, Assets and Community... and yes, I am signed in properly and have an active account. This isn't the first time this app has been a problem... Adobe has seemed to have issues with this app for awhile now - off and on... and from what I can see in the various forums, it's not just me with these issues.

    WebWorxTech which error are you currently experiencing?  Is it only a download error or are you still prompted to uninstall?  If you are prompted to uninstall then please see Error "Failed to Install" Creative Cloud Desktop application - http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html.
    If you are continuing to receive download errors then please see Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html.

  • Take account online to download message error WITH a twist

    Mail is telling me that "The message from _ concerning _ has not been downloaded from the server. You need to take this account online in order to download it."
    I've looked over many posts here about this problem, and many solutions involve moving the correlating .mbox folder to the desktop, re-opening mail, and rebuilding.
    Here's the twist - I can't find my .mbox file, or the mailbox in Mail, but I can find all the "non-downloaded" messages when searching from within Mail. All the messages, until today, were in the mailbox that is now missing.
    Where did my .mbox file go, and how can I restore the messages?
    24" Intel iMac   Mac OS X (10.4.10)   2.33 Ghz, 2GB RAM, 7600GT

    Have you checked whether the missing mailbox is within some other folder? If the mailbox is nowhere to be seen in ~/Library/Mail/ and Spotlight doesn’t find anything, that means the messages are gone and what you’re seeing in Mail are just the entries that remain in the index — Mail displays that bogus error messages because it cannot find the *.emlx file associated with the message where the index says it should be. Re-creating the index would “fix” the problem by getting rid of the phantom entries, but won’t make the messages reappear.
    Before doing anything, if the messages are gone and you don’t have a backup, you may try to salvage as many deleted *.emlx files as possible with a data recovery tool such as Data Rescue II, TechTool Pro, or FileSalvage. Of these, the only one I know for sure that can currently recover deleted *.emlx files is FileSalvage. Stop using your computer right now if you want to try that, as anything you do with the computer may cause the deleted files to be overwritten.
    You should also verify/repair the disk (not just permissions), as described in the following article, in case there is some filesystem corruption that has a bearing on what happened:
    The Repair functions of Disk Utility: what's it all about?

  • Error with Portal JSP Page Upload

    i've run into a problem with trying to deploy custom JSP pages to Portal. basically, if i enable JSP page types for the Page Group, generate a simple page, download it using the Download JSP link, and then try to upload it again as a JAR or WAR via the JSP Source tab, even without modifying the page at all, i receive the following error:
    Unexpected error - User-Defined Exception (WWC-35000)
    Unexpected error - User-Defined Exception (WWC-35000)
    Path ID does not exist. (WWC-50001)
    i've tried logging in as ORCLADMIN in case it was a permissions thing, but that didn't help.
    anyone else experience this? any ideas?
    thanks,
    .rich

    i've run into a problem with trying to deploy custom JSP pages to Portal. basically, if i enable JSP page types for the Page Group, generate a simple page, download it using the Download JSP link, and then try to upload it again as a JAR or WAR via the JSP Source tab, even without modifying the page at all, i receive the following error:
    Unexpected error - User-Defined Exception (WWC-35000)
    Unexpected error - User-Defined Exception (WWC-35000)
    Path ID does not exist. (WWC-50001)
    i've tried logging in as ORCLADMIN in case it was a permissions thing, but that didn't help.
    anyone else experience this? any ideas?
    thanks,
    .rich

  • I am trying to download my photos from my iphone to my mac-iphoto. It keeps trying but about halfway through it says there is an error with a photo therefore it wont download any of my pictures or videos.  It wont tell me which picture is the issue.

    I took a lot of pictures and video on my recent trip to Ireland.  Now I am trying to download the photos and videos from my iphone to my mac - iphoto.  I have tried 3 times and each time (at a different point) I get a message telling me that there was an error with one of my photos and it wont load the pictures.  Help!!

    Try using Image Capture to download to a folder on the Desktop.  If there's a damaged file on the iPhone that's preventing the download you can isolate it with Image Capture and then delete it from the iPhone.

  • I have six memory cards and my computer will no longer download the pictures from them into my iphotos. Says error with one of the pics. Has anyone had trouble lie this and what do I do?

    I have six memory cards that my computer will not download. It says there is an error with one of the photos. Has anyone had this problem and what do I do to fix it? It used to download

    What version of iPhoto?
    Does this message come on all six cards?
    Are these Raw or Jpegs? If Raw, what camera?
    Can you access the images on the cards with Image Capture (in your Applications folder?)

  • Keeping getting an error with-in the App Store. Error 100 saying that my payment can't be received at the time. I updated to Mountain Lion to download the new Logic Pro X. Now left with now recording software and it's not letting me buy the new one.

    Keeping getting an error with-in the App Store. Error 100 saying that my payment can't be received at the time. I updated to Mountain Lion to download the new Logic Pro X. Now left with now recording software and it's not letting me buy the new one.
    iMac, OS X Mountain Lion (10.8.4), trying to get Logic Pro X

    Hello jst84,
    The following article may be helpful in getting your purchase to complete.
    Mac App Store: "An unknown error occurred (100)" when purchasing
    http://support.apple.com/kb/TS3637
    Cheers,
    Allen

  • Error with iPhone app download, now can't find or open app

    I recently tried to download an app on my iPhone 4S.  There was an error with my phone mid-download.  After a restart, the app is nowhere to be found on my phone, but I cannot re-download the app, as the app store thinks it is already on my phone.  When I go to the store to re-download, the "Open" button is present (instead of the "Download" button), but when clicked, nothing happens.  Syncing iPhone to a computer with iTunes also does not solve the problem, as the app doesn't appear in iTunes either.
    I've tried restarting, hard resets, etc. to no avail.  Suggestions? 

    When you launch iPhoto with the option key depressed you'll get this window:
    Click to view full size
    All libraries on your hard drive (and on external drives) will be listed and the currently used library will be listed as (default).
    OT

  • I'm new to iPad mini and uv I'm trying to get a movie I purchased to where I can watch it offline but when I click the option to download and watch offline it keeps giving me and error with download try again later I have a good wifi connection ??

    I'm new to iPad mini and uv I'm trying to get a movie I purchased to where I can watch it offline but when I click the option to download and watch offline it keeps giving me and error with download try again later I have a good wifi connection ??

    You have a "good WiFi connection". What does that mean exactly? Can you send and receive email and are other internet related activities working OK for you? Have you tried restarting or rebooting your iPad? Sometimes that helps. If nothing else, it's a good place to start.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • I am trying to back up my new iPhone after downloading/updating iTunes with iCloud. I get this message: The required file was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permiss

    I am trying to back up my new iPhone after downloading/updating iTunes with iCloud. I get this message: The required file was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permiss
    how do I find the file and replace it or install it?

    I'll reload it tonight when I get home...basically, I bought a new iPhone and downloaded some new medical apps. also had to download an update for iTunes into my mac laptop so I could access iCloud (which was NOT on my prior iTunes software)
    When I synched my new iPhone with the newly downloaded iTunes, I registered my iphone and tried to "back it up" to iCloud and the message indicating that "the required file was not found or has a permissions error...." popped up.
    How do I correct the permissions error, or...am I able to do this somewhere? Or...how do I find the file that is missing?
    Dr. Bob001

  • Error with Download JDBC Drivers page

    There appears to be an error with the JDBC Drivers download page. When navigating from the top-level download page, all I'm seeing is '<SCRIPT LANGUAGE="javascri'. Is there another page from which I can download the driver?
    Guy Heathcote
    Ordnance Survey
    UK

    The 10g and later drivers trade memory for performance. They use much more memory than the 9i drivers, but are much faster. If you look at the JDBC FAQ here on OTN there is some more info on where the memory is going. The stack trace you posted is what I would expect to see from buffer allocation described in the FAQ.
    Douglas

  • Download error with the iTunes store

    I've been trying to download All the Bird Songs of Britain and Europe from the iTunes store for the past couple days.  I just get a message that says "Error with the iTunes store.  Try again later."  Anyone have any suggestions?

    What steps have you tried to resolved it? Have you tried signing out and back into your account? If that doesn't work, contact Apple.
    https://expresslane.apple.com/

  • Cant download itunes, because ' there is an error with windows installer package' please help?

    cant download itunes, because ' there is an error with windows installer package' please help?

    I am getting the same message when I try to install the latest version of iTunes, I am running on Windows Vista Home Premium. I have tried so many different things to try to correct this and have now completly unistalled it from my laptop..... Now I have no iTunes what-so-ever on it and still can't install it. I found an older versin of iTunes and it installed without any problems, but I can't access it because my library was created on a newer version! Talk about frustrated..... WE NEED HELP!!!!!

  • Download does not start, error with order

    i've been trying to dowload lightroom 4 for more than a week. the download does not start and when i try to buy the program i get a "error with your order message" any idea what i should try next??

    MichaelAShea which web browser are you using?  Please try a different web browser.  If you continue to face difficulties then I would recommend installing via the Creative Cloud Desktop application.  You can find more details at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • Our apologies but there was an unexpected error with the application. This problem has been noted, and an email has been sent to the administrators. Please check back in a few hours to try the download again. What is

    What is going on here. I've waited 4 weeks for my ipad which will not do anything untill I've downloaded the latest version of itunes which I can't do because this message keeps appearing,
    Our apologies but there was an unexpected error with the application.
    This problem has been noted, and an email has been sent to the administrators.
    Please check back in a few hours to try the download again.
    Reading another post, someone is still trying after two days!
    Anyone got a solution to this please, or, if not, does anyone know how to email itunes.
    Thanks, Allan

    Found this
    http://www.v3.co.uk/v3-uk/download-review/1955243/apple-itunes-1011
    Hope it helps

Maybe you are looking for