Can we get put info from database to excel and download file?

I want to pull specific information from the database and then put it in an excel file. I want to then be able to download that file from a jsp page at the click of a button/link.
Can someone give an idea about how this can be done.. If you can show some code that would be very useful.

Well I think the easiest way to do this would be to use JNDI and write a simple VB app or something to use excel (of course the downside of this is that it ties you to winblows).
The only reason I say this is simpliest is because there are no real good ways to create and xls file through java. I think there are some third party libraries out there for this but not sure where they are or how to use them.

Similar Messages

  • My computer crashed and I no longer have the itunes library. i get an error msg that my iphone is synced to another library - how can I get the info from the phone to the itunes library?

    my computer crashed and I no longer have the itunes library. i get an error msg that my iphone 3g is synced to another library - how can I get the info from the phone to the itunes library without losing everything? How do I delete old audiobooks from my iphone?

    You can transfer itunes purchases:  File>Devices>Transfer Purchases
    The iphone is not a storage/backup device.  The sync is one way - computer to iphone.  The exception is itunes purchases.
    It has always been very basic to always maintain a backup copy of your computer.  Use your backup copy to put everything back.

  • I have just recently installed ios6 to my iPad 3 an iPhone 4 my iPhone works fine but my iPad is not working at all I can not get a response from it, it seemed to download an then install but did not reset and turn on and will not turn on HELP!! Withdrawa

    I have just recently installed ios6 to my iPad 3 an iPhone 4 my iPhone works fine but my iPad is not working at all I can not get a response from it, it seemed to download an then install but did not reset and turn on and will not turn on HELP!! Withdrawal or what!! Lol

    Hi there,
    Firstly, try a hard reset. Hold the sleep/wake and home buttons together until the Apple logo appears.
    If this doesn't work, try restoring your device. Put it in recovery mode if iTunes doesn't recognise it, and restore it from there. I have linked to instructions below.
    Recovery Mode and Restore - Apple
    Let me know if this helps,
    Nathan

  • After a trip to Brazil, the App Store apparently thinks my iPad 2 is still there. When I try to download an app, I get a message that I can't get that app from the Brazilian store and have to switch to the U.S. store. The general settings are correct.

    After a trip to Brazil, the App Store apparently thinks my iPad 2 is still there. When I try to download an app, I get a message that I can't get that app from the Brazilian store and have to switch to the U.S. store. The general settings are correct. I apparently need to switch locations manually, specifically for the App Store. Help?

    Open the App Store app, go to the Featured pane, swipe to the bottom, tap your Apple ID and sign out. Tap again and sign back in. The App Store will automatically change to the store from which your account is authorized to make purchases.

  • Got a new iPhone that I've been using for about a month now, so the question is how can I get the pictures from my old iPhone and keep the pictures I have on the new iPhone?

    Got a new iPhone that I've been using for about a month now, so the question is how can I get the pictures from my old iPhone and keep the pictures I have on the new iPhone?

    Connect old iPhone to computer and save the pictures on computer.
    Connect new iPhone and sync the pictures to your new iPhone.

  • How can i get the data from database & add them as a link

    Hi,
    how can i get a data from a database(DB2) and that data will be having a file so i should make them as a link.i tried it in jsp .
    <%
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
    Class.forName("COM.ibm.db2.jdbc.net.DB2Driver");     
    response.setContentType("text/html");
    Connection conn = null;
    conn = DriverManager.getConnection("jdbc:db2:spintran");
    Statement stmt = conn.createStatement();
    stmt.executeQuery("set current schema tut");
    ResultSet rs = stmt.executeQuery("select * from tutorial");     
    %>
    Type Of the Category : &nbsp&nbsp&nbsp
    <%
         while (rs.next())
         String desc = rs.getString(1);     
         out.println(desc);
    %>
         <A HREF = "<%=desc%>"><%=desc%> </A>
         <%
         %>
    but it is not working.how can i link.
    thank you.

    what is desc? is it the file name ? whats the data type of desc in db? INFILE?
    if desc is just the name of the file, then make sure that such a file exists in the proper folder.only then the link works..
    that is, if desc is 'a.jpg' then a.jpg should be existing in the same folder as your html is.

  • I can't get my info from my handheld to my pc

    I had to reload windows xp on my laptop. I reloaded my Zire 71software and I even updated it on line. Everything seems to be working, including hot sync, no error messages, but I can't get the info on my handheld to go on to my pc. Thanks for your help.
    Post relates to: Zire 71

    Hello and thank you for using the Palm Help Forums!
    If everything is hotsyncing without errors then the data is going somewhere. Make sure there is data on the handheld or PC to sync then open your Palm Desktop app on your computer. In there, check around to see if you have any data there that was on the device. If not look in the upper right hand side of Palm Desktop and you should see a drop down box with "Users" next to it. Click the drop down box and see if there are other users there. If so, click on them and see if the data transferred to a different user.
    Post relates to: Treo 800w (Sprint)

  • TS1382 i have a new computer -- how can I get my music from my 2 ipods and my iphone on to the new computer.  I have downloaded itunes but can't get my music from the devices to load on the computer !!!! Help ????

    Need a little help.. New computer !!!  How do I get my music from my 2 Ipods and my Iphone to the newly installed and authorized computer?????

    This user tip provides the steps how to sync your iPhone to your new computer. It should also work for your iPods too.
    https://discussions.apple.com/docs/DOC-3141

  • From database to excel and back to database from excel - how?

    Environment: db 8,10 server (HPUX), IAS (SUSE), forms6i,10+report6i,10
    On principle there is no problem to get data from database to excel but there is the problem how to get data from excel back to database. I don't have intention to use APEX. The goal is to move the cursor to certain row in excel sheet and depends of data in this row call Oracle form in query only mode. Here is the solution to write URL into the excel cell but still exists the problem how to reduce number of session because each call of the form open the new session what I don't like to do.
    Thanks for purposes!
    m.

    Inolau, I'd like to open form between watching excel sheet depends of data in excel. For example:
    Cells:
    A B C
    1. 1 2 3
    2. 4 5 6
    When I put the cursor on B:2 cell I'd like to open a form. After this I'd like to put the cursor on cell C:1 and I'd like to open the same form again. All in one session.

  • Why my JSP can't get any data from database(Ms ACCESS)

    The path of JSP and bean file are correct in Tomcat .Also,it has no syntax error on Jbuilder7.0(can get and put data to database successfully) and can display on IE,but it cannot communciate with Database in Tomcat .Can someone help me to solve this problem??(ergent)

    I'm having a similiar problem
    well, mine is like this....
    I'm using the MySQL in my project, so I downloaded the MySQL Java connector and placed the .jar file into
    WEB-INF/lib
    When I did the connection in Servlet scripts, it works
    But now i'm trying to make another one in JSP page, let's say i'm using the JSTL and the code is like this
    <sql:setDataSource driver="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/helpdesk"
         user="root" password="" var="hdesk" />
    <sql:query var="tickets" dataSource="${hdesk}">
         SELECT * FROM tblTicket
    </sql:query>
    A connection error appears:
    Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
    Please help, thanks......

  • HT4859 I was in a car collision and need proof of my location when I called 911. How can I get this info. from my i phone device?

    I was in a car collision and need proof of my location when I called 911. The Police Dept., refused to respond, since there were no injuries.
    Now, I have a dispute with the other driver who is falsely stating accident happened at another intersection. In addition of calling 911 twice, I also took pictures of damages. Unfortunately, I did not take pictures of the intersection signs.
    My AT&T carrier states that this info. can only be disclosed by a subpoena. My insurance carrier states that they will not subpoena this info., since it is a civil case only.
    The Police Department does not keep records of calls they do not attend to.
    How can I get this location  info. from my i phone device if at all possible?
    Thanks,
    Pecosa

    Johnathan Burger,
    I did take photos of the damages to car and license plates, but NOT the intersection signs.
    How do I get the GPS Data in the exit data of photos? Please advise.
    Thanks,
    Message was edited by: Pecosa
    Message was edited by: Pecosa

  • How can you get selection info from air html component?

    In Air, I want to be able to have an html component that
    displays an htmltext string. When a button in pressed in the air
    app, I want to add highlight tags to the htmltext string around the
    text that has been selected by the user in the html component.
    The problem is, I have no idea how to get info about what
    text is selected in the html component. The way to get such info
    for other text display components is shown in
    http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_05.html#446003
    but that doesn't seem to work with html components.
    Can anyone point me to anything that shows how to get info
    from the htmlcomponent regarding the selected text?

    iCloud: Restore your iOS device from iCloud
    Note the iCloud backup does not included none iTunes purchases like music from CDs. Also, it does not include any photos synced to the iPod

  • I've now had the message "We are still processing your order. It could take up to 24 hours. Please check back later."for 60 hours. Why can I get no answer from the online support and why is Adobe the only online software company that takes days and days t

    I'm on a Mac, and Lightroom comes up with "update available, download now", so I go to download it and find that actually it is a paid for upgrade. So I pay for it, and then have to wait days for Adobe to "confirm" the purchase. It the meanwhile the demo which downloaded itself is saying "trial period over" and said that immediately (i.e. no trial period). How do you get Adobe to respond? I can't get an answer?

    Phone support | Orders, returns exchanges
    http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
    Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Make sure you are logged in to the Adobe site, have cookies enabled, clear your cookie cache.  If it fails to connect try using a different browser.
    Get chat help with orders, refunds, and exchanges (non-CC)
    http://helpx.adobe.com/x-productkb/global/service-b.html ( http://adobe.ly/1d3k3a5 )

  • Firefox 4 Yahoo! Editon for Mac. In Yahoo! Mail Bata I can't get my updates (from Yahoo! Puls and Facebook), but I can in Google Chrome.

    Can anyone get the feed on the Updates tab in Yahoo! Mail Bata on Mac .. In Firefox 4 Yahoo Edition?

    Can anyone get the feed on the Updates tab in Yahoo! Mail Bata on Mac .. In Firefox 4 Yahoo Edition?

  • How can I get Time Machine to only backup new and changed files?

    Time machine is backing up more than just new and changed files and is filling up my back up disk too fast.  How can I change it so that it will only back up the new or changed files instead of the whole drive?  I used to have my backups go back months, but now it is backing up only a couple days back, since there is no room left on my back up hard drive.  Each back up is like 400 gigs, instead of just the amount of the changed or new files.
    Thanks for any ideas or help!
    kt

    Thank you Eric!  I did go look at this info and tried to do a full reset of TM and I am still getting full backups of my HD instead of just new/changed files.  The weird thing is that I have 9 BU's from over the last 2 days and they all seem to be around 415 gigs and my backup HD is only 750 gigs!  I don't get it.  It shows that I have around 75 gigs of free space on that 750 gig drive.  It doesn't make sense.
    So I am having the same problems even after doing the full reset of TM. I am using Mavericks 10.9.5 which they don't talk about in this info.
    Does anyone have any further ideas on this?  I don't understand how I could possibly have that many full BU's on my HD that is only 750 gigs.
    Thank you,
    kt

Maybe you are looking for

  • Snow Leopard and GSM Modems (Vodafone)

    I'm not sure if this is the proper place to post this, but I'd like to share my experience with GSM (GPRS/3G) modems and Mac OS X. The main reason for doing this is the fact that I wasn't able to find any related information for my issues on the web

  • Urgent_Vendor segmentation in Oracle R12 supplier hub

    Hi, Client has a requirement that system should automatically define the vendor segmentation based on their own criteria. For example, custom program identifies all the suppliers who met the crietria and update the field value (field values are tier1

  • Is there a Limit on number of authorization objects in a role?

    Hi all,    Is there a Limit on number of authorization objects in a role because I am getting the following error. Authorization is full. Please enter fewer values Message no. 01262 Diagnosis You have included too many values in an authorization. Pro

  • "Service Name" and "Routine Name" in tmadmin

    In tmadmin console, there is "Service Name" and "Routine Name". What is the differences between them? Do they have relation with "Server Name"? Thx.

  • Photos do not open in photoshop cs4

    none of my photos are opening when i click file and open (jpg or anything)