How to realize download by jsp

Is there any class in jdk to handle with download some files to client?
I mean, when a request of download some file comes, how could jsp handle this request and push request file to client?(some thing like browser's work)
thank you

What are we talking about here?
You want to write a server which can hand over files to a client? Thru HTTP or FTP?
Give more info plz.
Greetz, Sjon

Similar Messages

  • How to realize print function in JSP

    How to realize print function in JSP? I know use Javascript:window.print() can print,but it will print whole page,it don't fit me;Another method is to write JSP into Excel and then print it in Excel,but it don't fit me too,because it don't print directly. Anybody know how to print it directly?

    Many websites offer a "printer friendly" version of a certain page. That IMO is the only way to solve your problem, next to using CSS to use a different style for printer output. Here is a tutorial that covers this:
    http://www.alistapart.com/stories/goingtoprint/

  • How do i download Oracledata comming to jsp page finally to excelsheet

    Hi if anyone can know ,let me know how i will download oracle data comming from oracle and then i it have to come to jsp page.it need to download as microsoftexcel sheet.any one can help me out will be great.

    I had a similar problem long back how to convert ... There was a package available from alphabeans.ibm.com try searching for that java bean which helps u out

  • How do I download ios5.1, there is no software update button in settings

    I was going to download iOS 5.1 but then realized there was a more recent version out with numerous bug fixes caused by versions 4.3 and higher. So I looked up how to download it and every place said to go to settings, tap "General" and there will be a "Software Update" option for an 'over the air' wireless software update. But when I tried, there was no such illusive "Software Update" button.
    How do I download iOS 5.1? I can't do it through iTunes because its meant for 'over the air'. But there's no way to do it without that button!

    Everytime I try updating ios via iTunes, it is taking more than 3 hours and then session breaks saying "Timed Out"
    I have been trying to update iOs since last 3 days using iTunes but of no help, please let me know any other alternative way by which I can update my iOs

  • My hard drive crashed and I lost everything on my Mac desk top, including my Adobe Lightroom. I had my hard drive replaced but how do I download to my new hard drive? I have my previous serial number but when I entered that, it said it was invalid.

    My hard drive crashed and I lost everything on my Mac desk top, including my Adobe Lightroom. I had my hard drive replaced but how do I download to my new hard drive? I have my previous serial number but when I entered that, it said it was invalid.

    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh
    Contact Adobe Support by chat for serial number issues:
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • How to realize the "save as" dialogue box?

    I want to realize this function in my jsp page:
    when I click a button, the system can prompt a new dialogue box which is the same as
    the "save as" dialogue box in windows 2000.
    How to realize it? Can I use JavaScript?

    You are asking about something that happens at the browser, so the question is identical to the one that asks how you can do it in HTML. But what do you expect to save with this dialogue box?

  • How to install servlet and jsp on win xp?

    I am new in jsp and servlets. I would like to follow some jsp books and examples. The j2eesdk-1_4-dr-windows-eval.exe is already installed on my computer. I can write and run java codes. I downloaded the jsp-2_1-edr-api.zip file from http://java.sun.com. I extracted and moved to dir:\Sun\AppServer\ folder. When I search, I cannot see any jsp.jar file as some documents say, nor servlet.jar. How can I install jsp and servlet on windows xp? Any help? I will be very grateful.

    For starters, you would probably have better luck getting an answer on the general Java forums, since this a very general question- it is hard to see how this is specific to the Web Application Framework technology, except of course that it uses JSP and servlets naturally,
    But to try to help you here, more information is needed: from exactly where are you do\wnloading the file jsp-2_1-edr-api.zip and what is the product title of this file? I ask this since a general search of sun.com returns no evidence of the existence of this file.
    Also, what documents are being referred to here?
    Thanks

  • How do I  download Photoshop CC?

    After initially downloading Photoshop CC and Lightroom 5 a couple of days ago, today Photoshop CC was totally unresponsive. I deleted Photoshop CC and have attempted  to download and re-install it, but now the download feature work.
    Lightroom 5 continues to work normally. How can I download and re-install Photoshop CC?

    You didn’t describe the details of “doesn’t work” to make it easier to guess what might be wrong.
    If you haven’t, try going to the Creative Cloud site and download from there.  Clicking on the Ps icon is supposed to start up the AAM which should download things.  If that isn’t working, then post a screenshot to a forum message, using the web version of the forums, not e-mail.
    https://creative.adobe.com/products
    You may also want to try uninstalling the Adobe Application Manager and download and update it to the latest version before retrying the install:
    PS: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4773
    Mac: http://www.adobe.com/support/downloads/product.jsp?product=170&platform=Macintosh
    If you want to have everything cleared out about your PS-CC or AAM then try the CC Cleaner tool:
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • Help me!! How to use JavaScript with JSP ??

    I am using JDeveloper and I created a screen in JSP which uses a bean for database connectivity and retriving info onto the page.
    The page has a ListBox where list items are populated from the database.My requirement is
    whenever the list is changed the page shuold be refreshed with the selected item info.
    I tried to use 'JavaScript' for triggering the event with 'onChange' event of the ListBox.But the event is not getting invoked. I think JavaScript is not working with JSP.
    Please help me with how to Use javaScript with JSP or any other alternative where I can meet my requirement.
    I have one more question...I have gone through the JSP samples in OTN and I am trying do download the sample 'Travel servlet' which show list of countries...etc
    I have also gone through the 'readme' but I don't know how to extract .jar file.
    I would be great if you could help me in this.
    Thanks!!
    Geeta
    null

    We have a similar need. We have used Cold Fusion to display data from Our Oracle Database. We have a simple SElect Box in HTML populated with the oracle data. When someone selects say the State of Pennsylvania. then we have an On change event that runs a Javascript to go get all the cities in Pennsylvania.
    Proble we are having is that inorder for the Javascript to work , we currently have to send all the valid data.
    Do you know of any way to dynamically query the the Oracle database in Javascript

  • Installation, how do i download the latest camera raw plugin for elements 11

    how do i download the latest version of camera raw plugin for elements 11

    Hi sheffwedtheowls,
    You can download the Camera Raw from : http://www.adobe.com/support/downloads/product.jsp?product=106&platform=Windows
    Adobe application...
    Shipped with Camera Raw plug-in version...
    Compatible with Camera Raw plug-in through version...
    Photoshop Elements 11
    7.1
    8.0
    Please refer : http://helpx.adobe.com/x-productkb/global/camera-raw-compatible-applications.html
    Regards,
    Rave

  • How can I download the DAQ Designer?

    How can I download the DAQ Designer?

    ttm,
    Here's a link to the download: http://volt.ni.com/niwc/common.jsp?page=daq_ddonline. Have a great day!

  • How do I check what java I have and then how dow I download the newest version?

    '''I signed up for wwe.com for my birthday and Christmas present to myself. There were some problems with the how it ran so I had to secure the services of OMNITECH (who I would never recommend to anyone again as I am finding out things have been removed and messed with and I'm left holding the bag.) Anyways I am looking for help with how to find what version of Java I have and and the how to install the latest version of Java. That is, if I really need it. I'm not sure to even check how I would know if I use it. Maybe I don't even need it.
    '''

    '''[http://www.java.com/en/download/manual.jsp Java Downloads for All Operating Systems]'''
    '''[http://java.com/en/download/installed.jsp Verify Java and Find Out-of-Date Versions]''' {web link}

  • How to use datagrid in jsp ?

    Hi All ,
    Can any body let me know , how to use datagrid in jsp pages .I have downloaded the taglibs-datagrid.jar file and taglibs-datagrid.tld. I have saved the .jar File in the WEB-INF/lib and .tld to the WEB-INF directories.
    I wrote a program that is getting a collection from the request and i just want to display the objects in the datagrid.Please help me out of this problem.It's better to explain with example. Waiting for a response.
    Regards,
    Rakesh

    Why do you want to use threads to do this ??
    If you write a message and do a redirection, the message will be displayed until the other page will be loaded into the browser...
    I already launched a thread from a JSP but it was for a four hour process where the user can close his browser windows.

  • How to enable/download/display hindi/marathi language in bb9790 bold os 7.1

    Please help on display/enable hindi lang in bb9790 bold os 7.1. Before os upgrade i was able to see msgs bt I'm not able to see them now. All appears as black box. Plz suggest

    Hi and Welcome to the Community!
    You need to ensure that you have an OS package installed to your device that contains the language you desire, as well as ensure that you have on your device fully activated the language. The simplest way is to, on a PC (you cannot do this on MAC):
    1) Make sure you have a current and complete backup of your BB...you can find complete instructions via the link in my auto-sig below.
    2) Uninstall, from your PC, any BB OS packages
    3) Make sure you have the BB Desktop Software already installed
    http://us.blackberry.com/software/desktop.html
    4) Download and install, to your PC, the BB OS package you desire:
    http://us.blackberry.com/support/downloads/download_sites.jsp
    It is sorted first by carrier -- so if all you want are the OS levels your carrier supports, your search will be quick. However, some carriers are much slower than others to release updates. To truly seek out the most up-to-date OS package for your BB, you must dig through and find all carriers that support your specific model BB, and then compare the OS levels that they support.
    Please use this KB as reference to make your selection:
    Article ID: KB05305 Localization support for BlackBerry smartphones
    5) Delete, on your PC, all copies of VENDOR.XML...there will be at least one, and perhaps 2, and they will be located in or similarly to (it changes based on your Windows version) these folders:
    C:\Program Files (x86)\Common Files\Research In Motion\AppLoader
    C:\Users\(your Windows UserName)\AppData\Roaming\Research In Motion\BlackBerry\Loader XML
    6a) For changing your installed BB OS level (upgrade or downgrade), you can launch the Desktop Software and connect your BB...the software should offer you the OS package you installed to your PC.
    6b) Or, for reloading your currently installed BB OS level as well as for changing it, bypass the Desktop Software and use LOADER.EXE directly, by proceeding to step 2 in this process:
    http://supportforums.blackberry.com/t5/BlackBerry-Device-Software/How-To-Reload-Your-Operating-Syste...
    Note that while written for "reload" and the Storm, it can be used to upgrade, downgrade, or reload any BB device model -- it all depends on the OS package you download and install to your PC.
    If, during the processes of 6a or 6b, your BB presents a "507" error, simply unplug the USB cord from the BB and re-insert it...don't do anything else...this should allow the install to continue.
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    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

  • How can i download and install and really use Adobe Flash Player on my MacBookAir with OS X 10.8.2 ??

    How can i download and install and really use Adobe Flash Player on my MacBookAir with OS X 10.8.2 ??

    Hello Allan,
    thank you for your promt message. I have download the installer like many times before and install the flashplayer like many times before, too. But it does not work ... only getting the black screen ... but then, after checking some settings and defaults i realize that i have to switch in Safari > Security > Plug in to status activated !!!
    Shame on me and sorry for wasting your time, but i started with Mac 3 weeks before and have to leave windows-thinking !!! But i am convinced that mac is the better way ...
    By Soeren

Maybe you are looking for

  • MOPZ error while generating stack file for EREC upgrade

    I need to upgrade E-Recruitment 604 to 606. Currently we are on Netweaver 7.01 While adding this system in SOLMAN 7.1 SPS 05 in order to generate stack.xml file i manually selected this product system in product system editor and we had selected belo

  • Web gallery problem

    Hi! I'm trying to upload a web gallery from one of my albums on iphoto. I've done this once before and it worked perfectly fine. Now though, everytime I press the web gallery button something pops up asking me to sign in to my .mac account. I say yes

  • All my e-mails are going to my deleted box and not my inbox, what do I do?

    Since last Saturday any messages sent to me are going straight to my deleted box. Nothing is appearing in my inbox.

  • Which BADI craete a New Button 'Message'  for PO and How?!

    I just work in a retail project, and client wants to get one more button on purchase order screen (WebPage) as 'Message' to get to the screen to get access all output message assgined to this purchase order. the customizing is: SPRO -> Logistics – ge

  • How to Change the Focus of a form tab?

    Hi , In Oracle Apps how to do the form personalization to change the focus of the form from one tab to another tab at the time of opening of a form For example when I am open a form in that by default the focus of the form is showing first tab i.e. T