Open the files in jsp, help!

i'm trying to call a bean in jsp in order to open a file exists in the same machine as tomcat. but it seems not work properly for no modification occurred to the file after operation on it.
the sample code is shown below:
<%
com.genesys.FileOpr fo=new com.genesys.FileOpr();
fo.open("...");
%>
the routine goes without any exception but either the effect.
what's the problem?!

to see something like a download or so you need to set the outputstream encoding type to the correct mime type (jpeg images: "image/jpeg").
hope you understand it...
greetings

Similar Messages

  • I click on the FF icon and nothing happens and some weird techniacle shows up on the screen when I open the file can you help me?

    The icon wont enable and when I go to open it via "open file" some technical sentences come up that make no sense to me. I don't know what is wrong. Never had this problem before. Can you help?

    Sorry, I clicked on the wrong link.
    davewdan

  • I just downloaded Digital Editions to use an e-book I purchased.   When I try to open the file it opens in Adobe Reader and I get an error message.  Please help

    please help  I downloaded Digital Editions to use e-book and when I got to open I get an error message

    It says file could not be opened because it was either not a supported type or it was damaged.  I have already had the file resent and in talking to the American Medical Association (purchased from their site)  it appears when I go to open the file it is in Adobe Reader and I do not see an option to move it to Adobe Digital Editions,
    Kathy Harlan
    <mailto:[email protected]> [email protected]
    Cell: 214-850-6427

  • HT4796 I have made a file using the Pages app.I mailed it to a friend.When she tried opening the same file on her pc at home , It did not open.Please help me as to how to open the file in the Microsoft word format on her pc.

    I have made a file using the Pages app.I mailed it to a friend.When she tried opening the same file on her pc at home , It did not open.Please help me as to how to open the file in the Microsoft word format on her pc.

    Send it as a PDF.

  • I have a MacBook pro version 10.6.7 with snow leopard. After an scheduled software upgrade I could not open Quicken (It said it could not open the files). Now I can only open it if I have my external drive on. Can you help?

    I have a MacBook pro version 10.6.7 with snow leopard. After an scheduled software upgrade I could not open Quicken (It said it could not open the files). Now I can only open it if I have my external drive on. Can you help?
    All the information that I had input on Quicken is gone. I have to have the external hard drive that I use to back up to be able to use quicken now. It is as if it was erased from the laptop hardrive

    Try repairing permissions. My favorite way is with a utility called AppleJack. Info and download here. It's free. It only works when you boot in Single User Mode. When restarting or booting, hold down the Command key and S keys.
    You will get a very different startup screen that looks like the Terminal app has hijacked the screen. Just let the lines of text scroll by. When that happens you will get a text entry prompt. Type in "AppleJack" without the quotation marks.
    A DOS looking menu will appear. Choose 1 or d to run Disk Repair. If you get a message that Disk Repair found and corrected errors, run it again. Repeat until you get the "your disk appears to be ok" message. This rarely happens with my experience, though. This does the same thing as as booting from an external drive and running Disk Utility's repair. Only, no external drive is required!
    Next, choose 2 or p to repair disk permissions. This will take a little while. AppleJack warns that it will take up to an half hour to run repair permissions. It'n never taken more than about ten minutes for my MacBook Pro.
    As permissions are repaired, you will see each repair scroll on the screen. When done, the menu returns, choose q to quit. Then at the prompt, enter "exit" without the quotes. Your MacBook Pro should restart into Mac OS normally after this.
    Hope this helps.

  • How can I install the latest Camera Raw?  I've just bought a Nikon D610 and am shooting in RAW but my CS5.1 won't open the files.  I'm running CR version 6.7.0.339 but I can't install more up to date one as only running Windows Vista.  Please help!

    I also tried to install the latest DNG converter and that looks to have worked but not quite sure what's happened as I still can't open the files.  Thanks in advance for any help.

    You can purchase an upgrade, but the only options available as a qualifying previous product are CS5 and CS5 Extended and Acrobat X Suite.  It isn't entirely clear if CS5 also includes CS5.1 or not, so I'd suggest using the Chat Now button over at the side to clarify.
    To get to this listing, you can go to www.adobe.com then click Search and type in Photoshop CS6 then click the Buy button next to Photoshop CS6 in the results Creative Suite 6 then edit your cart to make it an upgrade:
    You can also choose the Extended version of PS CS6 which is more money and can additionally do things with video and sequences of images and maybe 3D, although I'm not exactly sure at this point since I already have PS-CS6 Extended as part of my CC Photography Plan PS-CC+LR for $10/month.

  • Help please I can not openening because: Error opening the document,  Acrobat can not open the file while printing another document

    Help, I ca not opening the file, beacause the mac says Error opening the document, Acrobat can not open the while printing another document

    Thank you very much for your replies Taggert_77 & swmtgoet_x :D
    Taggert77_: I have never used NetBeans. I only installed it in the bundle as I had read on another post that somehow installing the bundle magically helped another user with the same problem (he didn't know why it worked after that either).
    Before XP SP3 I was able to execute .jar file through cmd prompt. Now I am not.
    This file is executable, grab it and you will see. Here is a screen shot (program in front is FlashFXP, behind is the cmd prompt and what should happen):http://www.freeimagehosting.net/uploads/53273b4ddf.jpg
    swmtgoetx_: I only did the other cmd's to try to make it spit out something, anything lol :D
    The proper cmd is simply: java -jar soht-client-0.6.2.jar
    I did give your cmd a try, and it produced nothing :( (just like the other correct cmds)
    java -client -jar soht-client-0.6.2.jar soht.properties
    Thank you again...the mystery remains
    PS. If you do a search for this you'll find an amazing amount of XP SP3 users with the same problem and no solution posted that I could find except one chap that did the unistall install order that I did above).

  • Pls Help!-'Failed to open the file'

    what do you do when an error 'failed to open the file' shows
    up when you try to open something...?
    i'm pretty sure that i am using the same version of flash as
    the one i used before to create this file.. but just on a different
    mac.
    please
    help!!!! (ノ△・。)

    yumibobcat wrote:
    > what do you do when an error 'failed to open the file'
    shows up when you try to
    > open something...?
    > i'm pretty sure that i am using the same version of
    flash as the one i used
    > before to create this file.. but just on a different
    mac.
    > please help!!!!?(????)
    >
    If you are using the same version the file was made in then
    the only thing
    left which give such error is a corrupted FLA. Beyond
    recovery once fail to
    open.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • IBooks author: Can't open the file because "index.xml" is missing, please help!,

    A project that I was working on yesterday and I didn't close it, today when I wanted to work on it and opened a new page there was a huge X on the page so I decided to quit ibooks then reopen it, saved all my changes first of course, but then when I tried opening it literally 10 seconds later it says the index.xml file is missing, this is my technology project due tomorrow please help!

    This or a simmilar problems arose just after the last  iBA update. There is a very long thread dealing with this.
    I had a similar problems and nothing cured it until I contacted support and  they gave me a link to upload to their server, they repaired my file and I downloaded it.
    It actually took from start to  finish about 2 weeks.
    I "huge X" on any page usually indicates an image or similar content is missing.
    The usual suggestions are to close everything  down and do a re-boot.
    I suggest a search of this forum for the thread may be an idea.  Try this
    https://discussions.apple.com/search.jspa?peopleEnabled=true&userID=&containerTy pe=&container=&spotlight=false&q=index.xml+file+is+missing
    If you make a copy of your book file and change .iba to .zip, you can open the file and check if the index page really is missing.

  • Excel cannot open the file beacuse the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file [help]

    Hi,
    I have a excel file that I have been using since beginning of year.
    Yesterday, I tried to open it but a message comes out "
    Excel cannot open the file beacuse the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file"
    After I click yes, the page is blank. The file is about 400kb in size.
    I have try open and repair and third party repair program and not working also.
    I would appreciate a lot if you can help me.
    Thank you very much.

    Per your post, this problem might be caused by malware on the affected machine.
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/09/07/quot-cannot-open-the-file-because-the-file-format-or-extension-is-invalid-quot-opening-office-files.aspx
    In order to clean your machine, run Microsoft Safety Scanner (http://www.microsoft.com/security/scanner/en-us/default.aspx) to kill the malware, and then repair Excel file itself.
    If this is not the case, feel free to post back and let me know. Thanks.
    Tony Chen
    TechNet Community Support
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I plugged my flash drive into windows and now I can't open the files on my mac. Help??

    I plugged my flash drive into windows and now I can't open the files on my mac. Help??

    What version of iPhoto?
    What format is the disk?

  • HT200250 I couldn't open the files from a Canon XF 300 so I downloade the plugin from Apple but still can't open the files. I opened and clicked on the installer icon. I'm not sure the plugin was actually installed. can anyone help?

    I couldn't open the files from a Canon XF 300 into Final Cut Pro 7, so I downloade the plugin from Apple but still can't open the files. I opened and clicked on the installer icon. I'm not sure the plugin was actually installed. C
    an anyone help?
    Message was edited by: BigDealCam123

    As you probably know the Canon plug-in enables Log & Transfer in FCP7. I'm not sure whether it works with Final Cut Express or not.
    Look in Applications>Canon Utilities. I'm running 10.6 as well and that is where it's located on my machine.
    Good luck.
    Russ

  • I am working on big project and in accidentally flatten the file and i saved it as PSD in then I exited Photoshop. the next time when i open the file it is merged on one page. please help!

    I am working on big project and in accidentally flatten the file and i saved it as PSD in then I exited Photoshop. the next time when i open the file it is merged on one page. please help!

    Flattening and merging are very similar. The main difference is merging keeps the transparent areas, whereas flattening removes all transparent areas by giving it a white background. A good example of flattening is a jpg image.
    Since you have closed the file by closing photoshop, that means that the history is now gone, no way of undoing.
    So that leaves you with two choices.
    You can either recreate the whole document.
    Or you can make selections of areas you are keeping and moving them one at a time to new layers. Keep each object on a separate layer. Then redo the area behind those objects.

  • I just install Photoshop CC. I try to open the file picture. All open as solid black picture. But on the right side under layer I can see little pic preview. Please help!

    I just install Photoshop CC. I try to open the file picture. All open as solid black picture. But on the right side under layer I can see little pic preview. Please help!

    These questions below may be for a different product... but the KIND of information you need to supply is the same, for the products you use
    More information needed for someone to help... please click below and provide the requested information
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840
    •What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    •What is your exact graphics adapter driver version?
    •Have you gone to the vendor web site to check for a newer driver?
    •For Windows, do NOT rely on Windows Update to have current driver information
    •-you need to go direct to the vendor web site and check updates for yourself
    •ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool
    •nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us

  • I purchased a file that advised it works with Illustrator intalled via extension manager and it only shows in my 'others products'? I cant even open the file in illustrator or in design? Help    =)

    I purchased a file that advised it works with Illustrator intalled via extension manager and it only shows in my 'others products'? I cant even open the file in illustrator or in design? Help    =)

    What's the product name please?

Maybe you are looking for

  • CRVS2010 Beta - Crystal Report Installation problem

    Hello, I have visual studio 2010 professionnal edition (Version 2010 10.0.30319.1RTMrel). (French edition) I would like to install and use Crystal Report, so: - I dowloaded the Crystal report setup (cr4vs2010.exe). - After installing the setup, I wan

  • PSD files in Windows Explorer

    I've used Photoshop Elements 2 for a few years and have recently upgraded to Photoshop Elements 4. I am sure I remember being able to view thumbnails of .psd files in Windows Explorer when I was using PSE2. However, now with PSE4, when I select thumb

  • Will the Airport Express pass 24/96 audio?

    Does the airport express support 24 bit audio? Anything higher? I've looked all over and can't seem to get a definitive answer.

  • Broken DCs & activation view

    Hi, I have created new WDJ DC project in MSS Component e.g mss/transfer using the same track. My Project is working fine without any issues, no build errors or no activation errors. Now i'm trying to release this project but i not able to do that. Af

  • Premiere CS6 Multicam hat nach speichern und öffnen nur noch auf dem linken Kanal Ton

    Ich habe seit ein paar Wochen das Problem, dass bei Multicam Schnitt alles wie immer funktioniert, aber wenn ich das Projekt speichere und später wieder öffne, ist der rechte Audiokanal stumm. Auch bei der Ausgabe als AVI oder über Dynamik Link zu En