Getting  save as dialog while downloading using download servlet

Hi Folks,
I am developing a web based video download application.In this i intend to download the video file by calling a download servlet.
Though the application works ,that is it downloads the file, the video file is straight away being played by the media player.My objective is to save it in the client machine at the desired location of the hard disk and then play the same later at cient's convenience. This is not happenening with my application.
Pl suggest me as how to get the save as dialog box to save the video file at will.
The site is to be lauched in a weeks time.Pl help!!!
thanks and regards
sathiyam K G

Hi rupak,
Thanks for the tip.I actually did all the things u said.But the difference is that i rely on http download.
I mean i do not use the servlet output stream to download the video file.If i do so it takes about 20 mins for a 10 MB sample file,to be downloaded via a broad band T1 link.
So i just use href to depend on http by which the download speed is accelerated and my one clip of video of 100MB average size can be downloaded in about 15 min. duration.
If this is not the correct way of working for the video download will u pl suggest me any other way through servlet, i can download with the above specified speed.
i am clear if i use the servlet output stream the download process is deadly slow.
so pl suggest!!
thanks again
regards
sathiyam K G

Similar Messages

  • I keep getting an error message while trying to download the cd for my Epson SX515W Printer

    Can any one help me with this problem? I keep getting an error message while trying to download the cd for my new Epson Stylus SX515W series printer.

    Contact Epson's support and read the troubleshooting section of their manual - http://www.epson.co.uk/Store/Printers-and-All-in-Ones/Epson-Stylus-SX515W/Driver s-Support

  • TS1424 I get error code 1009 while trying to download an application from app stor

    I get error code 1009 while trying to download an application from app storp

    You will need to do what it says, contact iTunes support. Click the Support tab above, then the Get Started link in the Contact Apple Support area and you'll be guided.
    Regards.

  • TS1424 I keep getting an "err: 100000" while trying to download the 2nd part of an audiobook (all other 6 parts downloaded normally). What do I do?

    I keep getting an "err: 100000" while trying to download the 2nd part of an audiobook (all other 6 parts downloaded normally). What do I do?

    I'd report the issue to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not downloading properly. If you can't see "Report a Problem" next to the entry, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.
    (Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.)

  • Blank page shown instead of Open/Save As dialog box-CSV file download in IE

    I am migrating an application hosted earlier on Oracle 9iAS (9.0.3.1 BP1) to OracleAS 10g (10.1.3) with Struts 1.2.9. While the below JSP code worked for the earlier s/w stack when accessed using IE 5.5 SP2 or above, a blank page is displayed with the new s/w stack. What I mean by "worked earlier" is this. A "Open/Save As" dialog box would appear. Trying to "Open" would open a new IE window launching MS Excel and displaying correct data. Trying to "Save As" would display correct filename and extension in the dialog box.
    <%@page autoFlush="false" contentType="application/x-filler"%>
    <%
    try
    String fileName = "ABC.CSV";
    String strData = "A,B,C";
    response.setContentLength(strData.length());
    response.setHeader("Content-Type","application/octet-stream");
    response.setHeader("Content-Disposition","inline;filename="+fileName);
    ServletOutputStream ouputStream = response.getOutputStream();
    ouputStream.write(strData.getBytes(), 0, strData.getBytes().length);
    ouputStream.flush();
    ouputStream.close();
    catch(Exception e)
    %>
    I tried some changes listed below:
    1. Deliberately introduced compilation errors in the JSP code.
    2. Changed contentType="application/x-filler" to various MIME types like application/x-download, application/vnd.ms-excel, removing it altogether.
    3. Commented out response.setHeader("Content-Type","application/octet-stream") and also tried other MIME types related to CSV/Excel.
    4. Changed Content-Disposition from inline to attachment.
    Each of the above resulted in an unacceptable behaviour compared with the earlier state:
    1. Blank page shown as if nothing was happening even in case of deliberate incorrect JSP syntax.
    2. Dialog box did show up with some combinations. But on trying to "Open" or "Save As", the dialog box shows up a second time. Then while trying to "Open", the contents get opened either inline or in MS Excel but with some additional garbage data like source file name.jsp etc. While trying to "Save As" the file name and extension take on the pattern <URL_Pattern>.htm where URL_Pattern would be "DOWNLOAD_ACTION.do".
    Some other information:
    1. This code works when accessed from desktop local container (Win 2000) but not when deployed on Unix env (HP-UX B.11.11.0109).
    2. Latest patchsets are installed for IE.
    3. The existing application is designed to work for ONLY IE 5.5 SP2 or above, so I haven't tried with other browsers. I have tried both IE 5.5 SP2 and 6.0 SP1.
    Any help in this regard will be highly appreciated.
    Thanks a lot for your valuable time..

    I have made it to work with the below changes:
    1. Changed the URL pattern for <filter-mapping> for *.jsp to /*.jsp
    2. Added <dispatcher>REQUEST</dispatcher> and <dispatcher>FORWARD</dispatcher>
    3. Everything else (code-wise) is as before.
    Because of these changes, the filter, wherein some headers are being added to the response, is being invoked appropriately now.
    Thanks for you time and suggestion though...

  • Rented movie 3 weeks ago. Trying to watch, I get message: "Error occurred while trying to download this content. Try again later."

    What is wrong? Rented a movie 3 weeks ago. Trying to watch it now, I get message: "Error occurred while loading this content. Try again later."
    Apple TV software is up to date. I can stream music from my computer and also from the Apple music site (whatever it is called). Just get the error on the movie.  Help!
    OS Mavericks 10.9.4 on 2010 MacPro.

    Welcome to the Apple Community.
    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router.
    Reset the Apple TV (Settings > General > Reset > Reset all settings)
    Restore the Apple TV (Settings > General > Reset > Restore)

  • Unable to download using download manager

    i want to know how to download oracle 10g r2(10.2.0.1.0) using download manager.i have used getright and flashget but no use.in getright i am getting a error message and in flashget i got a downloaded file of only 4kb.can please anyone help me.. i am using latest versions of both getright and flashget..i am from india...

    If I am not wrong then your browser needs to support cookies. Download managers pick up the username/password information from the cookies that are saved by the browsers (whether IE/firefox or whatever).

  • Downloading using download manager

    Hi I recently got an IPad Air as a birthday present. It's my first time using an apple product and I'm having difficulty downloading and playing music on it. I downloaded some music as a test using Download Manager. Now how do I get it to show up on the music app? Any help would be appreciated! Thanks a million

    On the iPad you can purchase music using the iTunes app.
    on your computer, install iTunes (it's free) and load your music into iTunes on the computer. Then connect your iPad to your computer and run iTunes on the computer. Select the iPad in iTunes, select the Music tab in iTunes and select to either sync all music or select just the playlists your want on the iPad. Finally click on Sync or Apply to copy the selected music to your iPad. It will then be found in the Music app on the iPad.

  • How to get save as dialog box.

    i want to open a "save as" dialog box from file menu.and i want to specify by myself which type of item should be in "Save as type" drop box in the save as dialog box.how to do it???????plz help........thanx in adv.

    I believe that the Sun tutorial over [How To Use File Choosers|http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html] will be able to give you the answer for this one. This and the JFileChooser API and other associated APIs.

  • Getting "save as" dialog box to auto populate when combining files in Acrobat X Standard

    In acrobat 9 the "save as" dialog box auto populated when I combined files, in Acrobat X it creates binder1 and then I have to click file and save as.  Is there a setting that I am missing so I do not have to do the extra step of file, save as?

    Hi cp-daytona,
    Please elaborate your issue and if possible then please attach the screenshot.
    Regards,
    Rahul

  • File upload and download using jsp/servlets

    How to upload any file to the server using jsp/servlets. . Help me out

    You can also try the Jenkov HTTP Multipart File Upload. It's a servlet filter that is easy to add to your web-project. After adding it, you can access both request parameters and the uploaded files easily. It's more transparent than Apache Commons File Upload. There is sufficient documentation to get you started, and there is a forum if you have any questions.
    Jenkov HTTP Multipart File Upload is available under the Apache license, meaning its free to use.

  • Getting a 8012 error while trying to download a purchased movie-ideas?

    Trying to download for family movie night, and am getting 8012 error.  Restarts have not made a difference...any ideas out there?

    Found this post (still seems weird we are all having this error at the same time):
    “We could not complete your Music Store request. An unknown error ocurred (5002). There was an error in the Music Store. Please try again later.”
    I emailed iTMS support about it and received the following reply:
    Dear Richard,
    Thank you for contacting the iTunes Music Store.
    I sincerely apologize for any inconvenience this Error 5002 issue may have caused. Please note that it was necessary to clear the contents of your shopping cart to resolve the issue you have been experiencing.
    It seems like one of the songs you are trying to purchase is in the middle of being modified and is unable to be purchased at this time. So this is preventing you from checking out and giving you this error code. What we recommend you doing on this particular order would be to add one
    or two items time, checking the cart after each item. When the cart shows that error “5002” we have found our song that is being modified. When you find this song we would appreciate it if you would report back to us which song is giving you this error. From there we can take appropriate actions to getting this fixed.
    Thank you for being an iTunes Music Store customer. We appreciate your business.
    I don’t recall what was in my shopping cart, so I won’t be much help to iTMS. But maybe it’ll be help to you.

  • I keep getting an error message while trying to download the blackberry app world on my blackberry 9900

    Error: Invalid manifest or application descriptor.
    The "MIDlet-Name" attribute is missing.

    Hi and Welcome to the Community!!
    Please try this sequence:
    1) Remove AppWorld from your BB
    KB10040 How to view or remove installed applications on a BlackBerry smartphone
    If it requests that you reboot the BB, do so
    2) Do a Batt-Pull reboot (power on, remove battery, wait, insert battery, wait), even if redundant to the one you did in step 1.
    3) Install (on your BB) a fresh copy of AppWorld
    http://blackberry.com/appworld/download
    Again, if it requests to reboot, do so.
    4) Do another Batt-Pull reboot
    5) See if it now works.
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • TS3212 am getting error message 7 while trying to download itunes; also i have had to click the ignore tab about the apple mobile device

    Hi ; am trying to download itunes and am getting error 7; also am clicking the ignore tab during the starting process regarding the apple mobile device

    I have this same issue.....

  • Getting ix.ApplicationNotCompatible.WarningTitle while trying to download an App in the App Store.

    I am updated to iOS 6.1.2 and when I try to download an app I am getting an alert box that says:
    ix.ApplicationNotCompatible.WarningTitle
    ix.AppllicationNotCompatible.SoftwareUpdateDescription
    See screenshot: http://cl.ly/image/1H1B0e0h3626

    Hello Kyle,
    I am getting the exact same error with my app when I updated to iOS 6.1.2. Have you found the answer?
    I will let you know if I find the solution.
    Thanks a million!

Maybe you are looking for

  • Cannot associate .ai files with with IllustratorCC2014 in Windows 7

    When I try to open an .ai file from mycomputer or Bridge in Windows 7, Windows doesn't know what program to use. So, it proposes a list that doesn't include Illustrator. When I browse to the illustrator.exe and say use that, it associates it with Ado

  • Aging Report by Ship to party

    Dear All, We have the following Customer Structure Sold to Party Chain Payer Ship to Party = Bill to Party We are posting the invoics to Payer and payment is received from the Payer for ship to party which belong to one particular chain. Cleint Need

  • Partial Invoicing Plan

    Dear all; In case of partial invoicing plan ,we need a option of down payment ,ie give advance to vendor,what is the procedure to do the same in PO? Thanking you; Joydeep Mukherjee

  • Ad Hoc Query Q

    Is Disco only used with materized view? I am looking for a ad-hoc query tool for a real-time OLTP application. I do not have the opportunity to create mat. views. Is Discoverer a good option for this type of app?

  • IBook not updating

    We are a school and are using iBooks to distribute self-created textbooks. One of my colleagues wants to update her textbook however, iBooks on the iPad keeps opening the old version. When testing the same thing happens to me. We change the version n