Multiple download with servlet

Hi! I have a web app in struts where users can upload and download files from it. Now, the upload part is finished. My problem is the download part. I want it to be able to handle multiple downloads. The browser(client) sends a list of fileIDs to the server. The server looks for the files in its local directory, reads them, and streams them to the outputstream of HttpServletResponse (to the client). But only the first file ever gets sent. Here's part of my code:
files is a String[] which contains the list of fileIDs the user wants to download
FileDetails is a class I made which merely holds a File object, and its size
try {                                           
     DataOutputStream dos = new DataOutputStream( response.getOutputStream() );
     for( int i = 0; i < files.length; i++ ) {
          response.setHeader("Content-disposition",
                           "attachment; filename" +
                           files[i] );
          //get file
          FileDetails fd = fileManager.getFile( Integer.parseInt(files) );          
          response.setContentType( "application/Octet-stream" );
          //read file
          DataInputStream dis = new DataInputStream( new FileInputStream(fd.getFile()) );
          byte[] contents = new byte[ fd.getSize() ];     
          dis.read( contents, 0, fd.getSize() );
          dos.write( contents, 0, fd.getSize() );
          dos.flush();                                                                                                                                                           
} catch( Exception e ) {
     System.out.println( e );
How do I make it send multiple files to the user? Also, response.setHeader doesn't seem to set the default filename. For example, if I download pics.jpeg, I get a dialog box with mywebpage.do(i'm using struts) as the default filename.
Your help would be greatly appreciated! =)

you could try a refresh to see if it works
when user first access servlet, get all files and store them
in a session.
then send the first file normally and set the browser to refresh
at a certain time.
when the browser calls the servlet again, send the next
file, repeat until all files have been sent.

Similar Messages

  • File Download with Servlet

    In my application i have to download a file with the help of servlet.
    Everything works fine except the case where i want to open the dialog box or just let that file open in the browser.
    For e.g. when i am trying to download an excel file and i want to have a dialog box open for save, it doesnt does that but automatically open the file in browser.
    But for the above case if i dont set the "ContentType" as "application/vnd.ms-excel" then it works fine like it will open a dialog box if in the header the value of "Content-Disposition" has "attachment;" and will open it if it has "inline;"
    Could you guide me to some good study material on what can be issues or the fundamentals of setting the "fileName with extension", what if i dont set "ContentType" and what is the difference between "Attachment" and "Inline"
    Thanks

    actually youre using the trick most ppl use.. force the content type to be something else than the ms-excel..
    the content type is ment to be a guide to the browser on how to interprete the content..
    if it doesnt it will prompt you to download i.e. show the file save dialog..

  • Excel download with multiple worksheets using ABAP webdynpro

    Content of Internal table should to downloaded  to an excel sheet with multiple worksheet.

    Excel doesn't support multiple worksheets with the text tab delimited or any of the other plain text formats.  So if you need multiple worksheets those approaches are out.  Multiple worksheets would only work with the Excel native format or the XML based format.  From ABAP the best approach would be to create the XML Excel format.  Search the forms and wiki has there has been tons of discussion in the mast on the XML Excel format.

  • I am using Windows 7 Home Premium 64-bit OS.  I've never had this problem before... today I opened iTunes and it prompted me to download the newest version.  I use iTunes all the time and have updated it multiple times with no issues.  During the installa

    I am using Windows 7 Home Premium 64-bit OS.I've never had this problem before... today I opened iTunes and it prompted me to download the newest version.  I use iTunes all the time and have updated it multiple times with no issues.  During the installation process it gave me an error message that said: 
    Runtime error! 
    Program C:\Program Files\iTunes.exe
    R0634
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    I quit the installation, uninstalled iTunes and rebooted my computer.  I now receive a similar message with a slight difference:
    Runtime error! 
    Program C:\Program Files (x86)...
    R0634
    An application has made an attempt to load the C runtime library incorrectly.
    Please contact the application's support team for more information.
    I did not leave anything out from the error message.  It doesn't point to a specific file, it just ends with "(x86)..."  Every time I boot up my computer, this error message pops up on my desktop.
    How do I repair this issue?  I have found multiple suggested solutions but am unsure which one is the best, and I don't want to try a bunch of different things for fear I may make the problem worse.  I would like to try and fix this myself if possible but I need to know if that is really possible or if I need to take my computer to someone for repairs.  Any suggestions will be greatly appreciated!!

    Hi lustyln,
    I'm having a little trouble understanding all of what you are trying to explain. From what I can tell, it sounds like your PC has a lot of software problems and you want to know what is supposed to be there and what isn't.
    For reference, here are your product specifications:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c01893242&lc=en&product=4043282
    To get your PC software back to how it was when it was first purchased, run a system recovery:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c01867418&lc=en&product=4043282
    I hope this helps.
    ...an HP employee just trying to help where I can, but not speaking on behalf of HP.

  • Will the antispyware that downloaded with the Firefox upgrade interfere with my CA security suite? I've been told not to intstall multiple security programs.

    Will the antispyware that was downloaded with the Firefox upgrade interfere with my CA security program? I've been told not to install multiple security programs?

    Alternatively, though we're not sure how it got on your system, if you don't want it installed you should be able to remove it via Add/Remove programs in your Windows XP Control Panel.
    From the Microsoft documentation for XP, located here...
    http://support.microsoft.com/kb/307895
    How to remove an installed program
    To remove a program that is installed on your computer, follow these steps:
    1. Click Start, click Control Panel, and then double-click Add or Remove Programs.
    2. In the Currently installed programs box, click the program that you want to remove, and then click Remove.
    3. If you are prompted to confirm the removal of the program, click Yes.
    Some additional observations...
    You seem to be running Firefox 3.0, for which security support ended in March of 2010. You may wish to update your Firefox to the newer Firefox 3.6 in order to continue to receive security updates. I believe simply pressing Help in the menu bar of Firefox, and then "Check for Updates" will accomplish this.
    Lastly, your Adobe Flash player for Firefox is out of date, and contains a security vulnerability. It can be updated by following the below link and clicking Agree And Install Now and then running the downloaded file.
    http://get.adobe.com/flashplayer/

  • Update multiple firewalls with one TFTP download

    Good evening, forum participants!
    I'm in a bit of a conundrum and need to ask the group a question:
    I need to update 21 firewalls that a previous consultant-vendor hasn't updated in several major versions.  The previous vendor didn't feel it important to maintain a current contract license on any of those firewalls to be able to update the software.  I don't want to purchase 21 service contracts in order to be able to update all the firewalls.
    Can I purchase one contract so I can download all of the versions of the software needed and use that software to update every firewall?  I just want to download once to my TFTP server and be done.  Is that possible?
    Your reply and quick response is greatly appreciated!
    Thanks!
    -Ed

    Hello,
    Can you let us know what is the model number of the devices? I'm just asking because, on the Small Business devices, you DO NOT need a contract to download any firmware version, they are all readily available for anyone to download with or without a contract.
    Please let us know.

  • Automatic downloads with multiple accounts

    My wife and I share a MacBook Pro and we each have our own user accounts on the computer. After I set that up, I can no longer enable automatic downloads in iTunes. It gives me an error saying that the computer is already associated with an Apple ID and I can only auto-download with one apple ID every 90 days. This doesn't make sense to me since we each have our own accounts like I mentioned. We also have separate iTunes accounts. This is really annoying because a big selling point of iCloud is that if I buy something on my iPhone that it will show up on my iPad and MBP.

    Hi, I also have a German and American account, for many reasons. I hope Apple re-thinks this quickly, as I know many people in my same situation. I am American but live in Germany because I am part of the US Forces still here. I am also married to a German. We love our iPhone and iPad, but can only afford 1 of each and share their use! So you can probably understand why we have the two accounts, hope Apple can also, and not think just about the $$! There are many Apps that I use that are only available in one store or the other and not both. Example, here, our cell provider is A German firm, naturally, they provide many Apps with services for free or at reduced fees, navigation for one example. But, of course, none of these are in the American Store! So, what Apple is trying to tell all those Americans who work for the Armed Forces or serve their Country all over the world is, if you want to use your US account and use local country Apps and services from an account where you are serving you MUST buy a 2nd device for that account or wait 90 days every time you need to access the other account?! Come on Apple, I know they have legal copyright issues to deal with and control, but hey, Steve, we live in a Global World now, of all companies, I would think that Apple would be the first to shed some of the regional limitations and think Global for their customers!

  • Bridge CS4 won't output to pdf multiple images with same filename

    Hiya...my googling efforts have thus far failed!
    I've got CS4, and in Bridge, I created a New Smart Collection to find all filenames in a folder containing "." or ".jpg" - which in turn searched through all the subfolders like what you used to be able to do in Photoshop CS3.  Very simple stuff, but all the images are jpg's, but in multiple folders (I don't want to move them out of the folders, as the files came from an external source, and there are heaps of folders, and I don't want to pdf each subfolder seperately as it will take forever).
    The problem is that some of the files have the same filenames (again I'd prefer not to rename, as it happens a lot on this project, and they are all over the place).  So whilst Bridge will show the thumbnail images correctly in the content tabbed screen in my New Smart Collection, but once I've done the Output to PDF thing, for example, instead of showing both different images it has pdf only the first image but repeated it twice.  And this happens multiple times throughout the pdf, the more times the same filename is used, the more times the first image gets repeated.
    I know that it is messy to have multiple similar filenames, but why can't bridge just place the image anyway?  It allocated a space for it on the pdf and does show it in bridge, it just doesn't seem to survive the transfer to pdf well.
    The only other thing that I have done is use the below link (which was posted on another adobe forum thread) to create a custom pdf output template (nothing too fancy, just number of rows / columns, size, font etc).  But I've tried using the standard bridge templates and it does the same thing.
    http://www.proficiografik.com/2009/08/03/save-custom-pdf-output-template-in-adobe-bridge-c s4.html
    Any help would be appreciated...even if to tell me that I am being unreasonable!
    UPDATE 16/11/09
    Just to let you know that I seem to have resolved the bug inadvertently with one of the Adobe updates. The below is the link for the AdobeOutputModule-2.1-mul-AdobeUpdate.zip which was released on 2/19/2009 - which allows for headers & footers to be placed in the Ouput pdf. I finally installed it today, and everything seems to be working fine now (i.e. I can pdf multiple images with the same filenames and the pdf will actually show each different image rather than repeating only 1 of the images).
    Must have been a fix installed in the contact sheet templates that get installed with the update - not sure why the original version was corrupted, but I've left that with the Adobe guys (I submitted a bug report - and they were able to replicate the problem but hadn't fixed it as yet).
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4228
    Message was edited by: djtun71 (16/11/09)

    When I click import from disc I am asked to choose a disc and then I get this message:
    The following photos will not be imported because they are already present in the catalog. To see these photos in the catalog select 'Show in Library' (the import will be canceled).
    This is followed by a long list of images. If I click 'Show in Library' I can see all the images with the same filename. And then they start to automatically write over those images with images from the disc. However they keep the same metadata and keywords from the previous images. If I click on Import and deselect the "don't reimport suspected duplicates" box, it imports only the images that don't share filenames and none of the images that do.
    Is there a way of setting the "Don't reimport suspected duplicates" box in preferences?

  • Multiple Issues with Adobe Creative Cloud app.

    I'm having multiple issues with the Adobe Creative Cloud app.
    1. Neither Photoshop CC nor Prelude CC get past the 47% mark when installing. They constantly give me "Installation Failed" messages. When I click on "Learn More", I'm told that:
    "Installation Failed
    Errors during Installation.(7)
    More Information"
    So naturally, I click on More Information to get the following thrown at me (none of which I understand):
    Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR:   -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 2 error(s)    ERROR: 12/01/13 13:16:06:425 | [INFO] |  | OOBE | DE |  |  |  | 6076 | ---------- CustomHook_Helperx64 ---- Start ----------  12/01/13 13:16:06:426 | [ERROR] |  | OOBE | DE |  |  |  | 6076 | Cannot load function name 'CSInstallerCustomHookProc' from library C:\Program Files (x86)\Common Files\Adobe\Installers\uninstall\{5F816B76-62F3-41C9-B651-27F49F25F50B}.data. Error 0    ERROR: System check returned with error : -4  -------------------------------------------------------------------------------------
    2. I installed Lightroom 5, then uninstalled it. When I went back to re-install it, the Adobe Creative Cloud app wouldn't let me. It states that my Lightroom 5 is "Up to date" and is in my "Your Apps" section, not in the "Find New Apps" section. I've double checked my Programs and Features in Control Panel, and it's not there. I cleaned my registry, and it's still there. I deleted the "opm.db" file in my OOBE folder, and restarted CC - still nothing.
    I've got to say, guys. I'm not very happy with the amount of time I've spent just trying to install programs on my PC. While the plan is for this to be intuitive at some point, it's not very functional at the moment. Any help you can provide me would be amazing - if you can provide it sooner than later, I'd be over the moon.
    Thanks.

    I fixed it. I fixed it on my own. My journey took over a week (forty hours of back and forths, trial and error, and service!!) and included multiple calls, multiple online chats, unanswered forum posts, Twitter conversations with the Adobe Customer Service team, remote access sessions with Adobe technical teams, and finally this series of emails. In the end, I had to figure it out myself. I'm not happy - not with the time it took, and not with the level service I received based on the urgency that I made clear.
    For anyone else that had this issue (or similar), here is what I did to fix it. This may seem excessive, but that's because I didn't know what else to do. Some of these steps may be redundant, or not required... but I wouldn't know because once I saw that it was working, I just kept going.
    Anyway, here is the solution I came upon (I'm running Windows 7 64-bit):
    1) I uninstalled every single Adobe product (including Flash Player, Acrobat Player, Air, and Digital Editions).
    2) I ran the Cleaner Tool (which is not very good) and came across errors in trying to delete certain folders.
    3) I restarted my computer in Safe Mode, and logged into Windows 7 under my Administrator account.
    4) I manually went into every folder that contained the words "Adobe" and deleted everything. This includes my Program Data folder, my Program Files folders (both x86 and 64-bit), my AppData folders, my Roaming folders, my Temp folders - ANYTHING and EVERYTHING that contained any trace of Adobe, I deleted.
    5) I ran Microsoft Disk Cleanup and Piriform CCleaner to clean my registry and temp files.
    6) I restarted my computer using the normal boot process and logged into Windows as Administrator.
    7) I downloaded the Adobe Creative Cloud installer.
    8) I restarted my computer again, and logged into Windows as Administrator.
    9) I ran the Creative Cloud installer, and installed Premiere Pro.
    10) I restarted my computer again, and logged into Windows as Administrator.
    11) I ran the Creative Cloud installer, and installed Photoshop.
    12) I restarted my computer again, and logged into Windows as Administrator.
    13, 14, 15...) I ran the Creative Cloud installer and installed whatever programs I needed, then I IMMEDIATELY restarted my computer before installing anything else.
    Hope this helps. Good luck!

  • Upload multiple files WITH correct pairs of form fields into Database

    In my form page, I would like to allow 3 files upload and 3 corresponding text fields, so that the filename and text description can be saved in database table in correct pair. Like this:
    INSERT INTO table1 (filename,desc) VALUES('photo1.jpg','happy day');
    INSERT INTO table1 (filename,desc) VALUES('photo2.jpg','fire camp');
    INSERT INTO table1 (filename,desc) VALUES('photo3.jpg','christmas night');
    However, using the commons fileupload, http://commons.apache.org/fileupload/, I don't know how to reconstruct my codes so that I can acheieve this result.
    if(item.isFormField()){
    }else{
    }I seems to be restricted from this structure.
    The jsp form page
    <input type="text" name="description1" value="" />
    <input type="file" name="sourcefile" value="" />
    <input type="text" name="description2" value="" />
    <input type="file" name="sourcefile" value="" />The Servlet file
    package Upload;
    import sql.*;
    import user.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Date;
    import java.util.List;
    import java.util.Iterator;
    import java.io.File;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.text.SimpleDateFormat;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    public class UploadFile extends HttpServlet {
    private String fs;
    private String category = null;
    private String realpath = null;
    public String imagepath = null;
    public PrintWriter out;
    private Map<String, String> formfield = new HashMap<String, String>();
      //Initialize global variables
      public void init(ServletConfig config, ServletContext context) throws ServletException {
        super.init(config);
      //Process the HTTP Post request
      public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
        request.setCharacterEncoding("utf-8");
        response.setCharacterEncoding("utf-8");
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        Thumbnail thumb = new Thumbnail();
        fs = System.getProperty("file.separator");
        this.SetImagePath();
         boolean isMultipart = ServletFileUpload.isMultipartContent(request);
         if(!isMultipart){
          out.print("not multiple part.");
         }else{
             FileItemFactory factory = new DiskFileItemFactory();
             ServletFileUpload upload = new ServletFileUpload(factory);
             List items = null;
             try{
                items = upload.parseRequest(request);
             } catch (FileUploadException e) {
                e.printStackTrace();
             Iterator itr = items.iterator();
             while (itr.hasNext()) {
               FileItem item = (FileItem) itr.next();
               if(item.isFormField()){
                  String formvalue = new String(item.getString().getBytes("ISO-8859-1"), "utf-8");
                  formfield.put(item.getFieldName(),formvalue);
                  out.println("Normal Form Field, ParaName:" + item.getFieldName() + ", ParaValue: " + formvalue + "<br/>");
               }else{
                 String itemName = item.getName();
                 String filename = GetTodayDate() + "-" + itemName;
                 try{
                   new File(this.imagepath + formfield.get("category")).mkdirs();
                   new File(this.imagepath + formfield.get("category")+fs+"thumbnails").mkdirs();
                   //Save the file to the destination path
                   File savedFile = new File(this.imagepath + formfield.get("category") + fs + filename);
                   item.write(savedFile);
                   thumb.Process(this.imagepath + formfield.get("category") +fs+ filename,this.imagepath + formfield.get("category") +fs+ "thumbnails" +fs+ filename, 25, 100);
                   DBConnection db = new DBConnection();
                   String sql = "SELECT id from category where name = '"+formfield.get("category")+"'";
                   db.SelectQuery(sql);
                    while(db.rs.next()){
                      int cat_id = db.rs.getInt("id");
                      sql = "INSERT INTO file (cat_id,filename,description) VALUES ("+cat_id+",'"+filename+"','"+formfield.get("description")+"')";
                      out.println(sql);
                      db.RunQuery(sql);
                 } catch (Exception e){
                    e.printStackTrace();
            HttpSession session = request.getSession();
            UserData k = (UserData)session.getAttribute("userdata");
            k.setMessage("File Upload successfully");
            response.sendRedirect("./Upload.jsp");
      //Get today date, it is a test, actually the current date can be retrieved from SQL
      public String GetTodayDate(){
        SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");
        String today = format.format(new Date());
        return today;
      //Set the current RealPath which the file calls for this file
      public void SetRealPath(){
        this.realpath = getServletConfig().getServletContext().getRealPath("/");
      public void SetImagePath(){
        this.SetRealPath();
        this.imagepath = this.realpath + "images" +fs;
    }Can anyone give me some code suggestion? Thx.

    When one hits the submit button - I then get a 404 page error.What is the apaches(?) error log saying? Mostly you get very useful information when looking into the error log!
    In any case you may look at how you are Uploading Multiple Files with mod_plsql.

  • Help with multiple ipods with itunes

    hello -- We have 3 ipods in this house -- ipod nano
    and two shuffles - i have tried to set up an account for the ipod shuffles but the music goes to my library and will not download ontto the shuffles, which belong to my children -- any help would be appreciated!!!!!!!!!!!!!!

    hi mom3!
    hmmm. with any luck, these resources might be helpful:
    Natalie Beresford: multiple iPod/iTunes installations
    How to use multiple iPods with one computer
    iTunes: How to share music between different accounts on a single computer
    keep us posted.
    love, b

  • Is there a way to "Save As" when downloading with Firefox?

    I want to be able to "Save As" when downloading with Firefox. The only options I am given is to Save or Open. All the previous questions I have seen deal with being able to save to a certain location, and that I can easily set in Firefox. What I want is to be able to change the filename, so if it goes to download "abc123.pdf" I can rename it to "123abc.pdf" when it downloads.
    We use a web based application that I have to pull down pdf charts multiple times every day, but the problem is when you go to download a chart, every one is the same name. I can't just save it to the default directory since it will overwrite the previous one or just append a (1) or something. What I have to do now is use the Open option and have a pdf reader open it, then save from the pdf reader giving it a unique filename, which is extra steps that I do not have to do when using IE, Opera, etc. since I can do a Save As from those and rename it before it downloads.

    See:
    *Options > General : Downloads : "Always ask me where to save every file"
    *https://support.mozilla.org/kb/Downloads+window

  • Multiple problems with Mail

    Here is the setup:
    iMac Intel running 10.4.8
    Mail 2.1.1
    seperate user accounts, each with their own email address
    email is valornet.com (local ISP), set up to download to Mail
    Multiple problems with one of the user accounts (not affecting the others):
    1. Multiple copies in the inbox of the same message. These are brand new, not a week old as some other threads have mentioned. When I go to Preferences/Accounts/Advanced I have already clicked the "Remove Now" button, also the "Remove copy from server..." is checked.
    2. Mail will not stop retrieving new mail. The circle thing next to the Inbox on the left just keeps spinning, and spinning, and spinning...
    3. Cannot quit Mail. Have to go in Activity Monitor and Force Quit.
    4. My trash folder is gone.
    If anyone can help me clean up this mess, I would appreciate it.

    Verify/repair the startup disk (not just
    permissions), as described here:
    Th
    e Repair functions of Disk Utility: what's it all
    about?
    Minor bitmap problem needed fixing; fixed.
    Go to Apple Menu > System Preferences >
    Network, choose Network Port
    Configurations from the Show popup menu,
    and make sure that the configuration used to connect
    to Internet appears at the top of the list.
    It was showing Bluetooth first and ethernet 2nd; I moved ethernet to the top.
    In Mail, open Window > Activity Viewer. What
    do you see Mail doing there? Actually, you may be
    able to avoid having to force quit Mail by canceling
    whatever it’s doing (by clicking on the red stop icon
    of the activity).
    "Fetching new mail
    Fetching 5 of 5: updates on buses - Haskell Middle School"
    blue bar is moving, red stop icon is bright. I clicked on the stop icon and it "grayed out" but Mail did not stop the spinning circle next to the inbox. Still had to force quit.
    What are your Mail > Preferences > Accounts >
    Mailbox Behaviors > Trash settings?
    Trash can is back! One problem solved...
    Do you have any Mail plug-ins or any system utilities
    that could interfere with Mail? In the Finder, go to
    each of the following folders (if they exist). What
    do you see there?
    /Library/InputManagers/
    ~/Library/InputManagers/
    /Library/Mail/Bundles/
    ~/Library/Mail/Bundles/
    None of the above folders exist.
    In the user's ~/Library/Mail/ folder (the user with the problems), she has:
    DefaultCounts
    Envelope Index
    LSMMap2
    MessageRules.plist
    MessageRules.plist.backup
    OpenedAttachments.plist
    SmartMailboxes.plist
    and the following folders:
    Mailboxes
    [email protected]
    Signatures
    The Mailboxes folder has two more folders inside:
    Deleted Messages.mbox
    Outbox.mbox
    The POP-... folder has the following folders inside:
    Deleted Messages.mbox
    Drafts.mbox
    INBOX.mbox
    Sent Messages.mbox
    and one file:
    MessageUidsAlreadyDownloaded2
    Incidentally, I now have 9 copies of the same email in my inbox and 7 copies of another. They are multiplying like rabbits!
    Thanks for your help so far.
    17" iMac (intel)   Mac OS X (10.4.8)  

  • I have 2 apple ID one for Egypt and other for USA , now I try to update the software but I get a message said that this software download with other ID, then I logout and sign with second ID but i got the same message again ... Now I can not sign in more

    I have 2 apple ID one for Egypt and other for USA , now I try to update the software but I get a message said that this software download with other ID, then I logout and sign with second ID but i got the same message again ... Now I can not sign in more
    Any solution ?
    I'm using iOS 6.1.2 IPad 3
    Regards

    I have also noticed the same "problem".  I do not fully understand the impact of using the same ID on multiple computers and devices if I want to keep them all in sync.

  • Communicate with servlet after using Java Web Start?

    Is it possible to communicate with servlet to get data back and forth
    after using Web Start to download the client application?
    The demos come with Java Web Start are applications which are
    standalone, don't need communicate with the servlet on Web server
    after being launched. I am wondering if it is possible, and how (HTTP
    & JAX-RPC)?
    Thanx in advance.

    I've done this using HTTP. I get the server and port from the codebase:
    BasicService bs = null;
    try {
    bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
    String codeBase = bs.getCodeBase().toString();
    and use the java.net.HttpURLConnection and java.net.URL classes to send HTTP parameter values to the servlet and to receive results from the HttpURLConnection's input stream.

Maybe you are looking for

  • Permissions repair takes hours, never finishes

    I've been doing some looking around the forums but haven't found an answer to my question. PROBLEM: Permissions repair takes FOREVER. I started a permissions repair task on the startup drive yesterday afternoon and it hadn't finished by this morning.

  • [Is it Jdev 11.1.2.4 bug]......LOV issue

    Hi All, Facing a problem related to LOV in Jdev version Jdev 11.1.2.4. Was referring to the solution given by Andrejus here http://andrejusb.blogspot.in/2008/02/list-of-values-component-in-search-and.html. Problem: Migrate the workspace to Jdev 11.1.

  • Scrub one frame at a time?

    Hi, have Flash from Studio MX 2004 and am on Windows XP. I haven't used Flash in awhile, but I could have sworn I was able to "tab" or move the playhead through the timeline, either by using the arrow buttons or the Tab key?? Have I lost my mind? Or

  • Ap Div doesn't show

    I have an Ap div on top of my swf file.. but it does not show in IE or firefox(pc) It shows in safari and firefox(mac). I've tried changing visibility, z-index, etc.. with no results. Any ideas?? Thanks in advance. here is the link: http://www.salvea

  • Constant Crashing in Indesign

    I am running Indesign CC on a Windows 7 PC. I am a magazine designer and i build 100 page documents and work on a single document for 2 months at a time. Of late i am constantly having problems with my files crashing when i am trying to move content