Can't manage to close blank window left after download an xml file in IE6.

hi All,
I have a requirement where i have to open Xml type attachment in New blank window for download. I am using the following code for the same:
window.open ("URL", "_blank", "location=no;scrollbars=1");
The code works fine and allow me to download xml in new window. But after download the blank IE window remains which the user need to close manually. I want the blank window to be close after download finishes.
Also, the problem is occurring because of the IE setting "Reuse window for launching shortcut" which is checked in our case. That is the reason i am using "_blank" for opening xml type attachment.
Please help me in solving the same. Let me know if you need any further details.
Thank you for the help.
Regards,
Tarun

Are you talking about JavaScript?
In that case you're wrong here, as this is a Java forum and JavaScript and Java are entirely different beasts (despite the similarity in name).
Also: Why do you want to open a download in a new window? A download usually goes directly to a download dialog anyway and doesn't show any content in the window itself, so opening a download in a new window can do nothing but leave an empty window open.

Similar Messages

  • Can anyone help me close this window in Safari?

    I can't seem to close this window out in Safari. Everytime I restart Safari it opens all of my previously opened windows. I can't seem to acess or empty my cache to start fresh and my menu options are mostly faded out. Can someone tell me how I can start Safari over and open a new window by default instead of having it open an old session up? 
    Here's a screenshot of what I'm talking about:

    Scratch that. I fixed it!

  • Can't access the "Apple" icon in upper main menu to shutdown my MacBook Pro running 10.6.8!  Also can't open a new finder window and main menus such as File and Edit are sluggish to open or don't open at all.  Doesn't happen each time I attempt to shutdow

    Can't access the "Apple" icon in upper main menu to shutdown my MacBook Pro running 10.6.8!  Also can't open a new finder window and main menus such as File and Edit are sluggish to open or don't open at all.  Doesn't happen each time I attempt to shutdowCan't

    There are some keyboard commands (shortcuts) you can use instead of having to go to the Apple menu -
    Control-Eject          This brings up the Restart-Sleep-Cancel-Shutdown window.
    Command-Option-Eject          This puts the machine to sleep.
    Command-Control-Eject          This closes all apps and restarts the machine.
    Command-Option-Control-Eject          This closes all apps and shuts the machine down.

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • I am trying to install software for iTwin Connect, but after downloading the dmg file and launching the program, I receive a message saying the file can't open and to check my internet connection.  Any ideas?

    I am trying to install software for iTwin Connect, but after downloading the dmg file and launching the program, I receive a message saying the file can't open and to check my internet connection.  Any ideas?

    Many Thanks, Kurt.
    I knew I'd seen the solution you've provided somewhere - either in MacWorld or MacFormat - but couldn't remember the Gatekeeper bit!
    I shall save it somewhere VERY safe now in case this happens again …
    You have made an old man very happy and saved me from worrying that senile decay had suddenly set in. (I was 70 last week so you might understand the situation from that.)
    Best wishes
    OllyanDinah

  • I can no longer receive short videos in iMessage after downloading iOs7 on my iPhone 4 it says "Downloading", only 4.3MB in size

    I can no longer receive short videos in iMessage after downloading iOs7 on my iPhone 4 it says "Downloading", only 4.3MB in size

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

  • I updated my ipad from IOS 5 to IOS 8. All games and apps that I downloaded was deleted. What can I do to return them back, even after downloading one of the games He deleded all the steps I went through and I need to start all over  again

    I updated my ipad 2from IOS 5 to IOS 8. All games and apps that I downloaded was deleted. What can I do to return them back, even after downloading one of the games He deleded all the steps I went through and I need to start all over  again

    iCloud: Restore or set up your iOS device from iCloud
    Or from iTunes  http://www.iphonefaq.org/archives/971992

  • How can i convert  my invoice which is in smart forms to xml file

    how can i convert  my invoice which is in smart forms to xml file.

    Hi Anil,
    Please go through this link:
    1. XSF stands for XML for Smart Forms. It is important to contrast XSF with .... The eDocx script engine can provide a script to convert the file format to an 
    http://www.ossincorp.com/Black_Box/Black_Box_4.htm
    please rewrds if found helpful.
    Regards,
    Alok

  • Where can I find an example of a vi which reads a xml file using the Labview schema (LVXMLSchema.xsd)?

    Where can I find an example of a vi which reads a xml file using the Labview schema (LVXMLSchema.xsd)?
    �Unflatten From XML� is of little use in parsing because it requires the data type. So it seems that the user has to parse each data value, and then �Unflatten From XML� can help a little.
    I would like to see NI provide a VI for parsing it�s own schema.

    LabVIEW's XML functions are another way of saving data from controls and indicators that is in a more standardized format. If you look at the Unflatten From XML shipping example, it shows taking the data that you would normally send to a Digital Wveform Graph and converting it to XML instead. This data is then unflattend from XML and wired to the graph. Since you know what you wrote to the file, this is an easy thing to do. If what you are looking for is a way to look at any data in any LabVIEW XML file, then you are right, there is not a VI for that. However, I do not believe that that was the intention of the XML functions in the first place.
    By wiriting data in XML, this allows other applications outside of LabVIEW to parse and recognize the dat
    a. In LabVIEW, you would already know the types and can place a generic item of that type. The issue of knowing the type is that you need to know the type of the wire that comes out of the Unflatten function so that the VI will compile correctly. You could always choose a variant value to unflatten and then do some parsing to take the variant a part. Maybe this will help you out.
    See this example for using the Microsoft parser for XML. (http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B123AE0CB9FE111EE034080020E74861&p_node=DZ52050&p_submitted=N&p_rank=&p_answer=)
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • How can I fill structure from the line with contetnt of a XML file inside?

    How can I fill structure from the line with contetnt of a XML file inside?
    I have array of lines with XML documents inside. All XML's have the same structure.
    I need to fill array of structures (with the same structure like given XML's) from data of these XML's.
    How can I do this? I am trying Transformation with ora:parseEscapedXML, but receive error: "XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:processXSLT("Transformation_1.xsl", bpws:getVariableData("ProcessedFiles"))", the reason is javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Could not find function: parseEscapedXML.
    Please verify the xpath query."

    Ive posted the new code but now I'm getting a FileAlreadyExistException error. How do I handle this exception error correctly in my code?
    import java.io.IOException;
    import java.nio.file.FileAlreadyExistsException;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.SAXException;
    public class MyDomParser {
      public static void main(String[] args) {
      DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
      try {
      DocumentBuilder builder = factory.newDocumentBuilder();
      Document doc = builder.parse("ENtemplate.xml");
      doc.normalize();
      NodeList rootNodes = doc.getElementsByTagName("templates");
      Node rootNode = rootNodes.item(0);
      Element rootElement = (Element) rootNode;
      NodeList templateList = rootElement.getElementsByTagName("template");
      for(int i=0; i < templateList.getLength(); i++) {
      Node theTemplate = templateList.item(i);
      Element templateElement = (Element) theTemplate;
      System.out.println(templateElement.getAttribute("name")+ ".xml");
      for(int i=0; i < templateList.getLength(); i++) {
      Node theTemplate = templateList.item(i);
      Element templateElement = (Element) theTemplate;
      String fileName = templateElement.getAttribute("name") + ".xml";
      Files.createFile(Paths.get(fileName));
      System.out.println("File" + ":" + fileName + ".xml created");
      } catch (ParserConfigurationException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      } catch (SAXException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();

  • Can't manage my APX from Windows Vista

    Hello,
    I usually use my iMac G5 to access & manage my APX but, since the iMac has a serious HW problem (continuous random reboots until it seems to be "warm" enough - probably linked to the repair extension program closed in 2008 that I missed), I've decided to prepare my work PC (running Vista) to be able to manage the APX (in case the iMac G5 dies definitly).
    I've managed to install the software (of course), but it doesn't detect the APX when scanning around (although it is connected to it to surf the web).
    Using the File>Manage other & its IP address + password, I've been able to fetch the configuration file.
    However, I can't modify it: I always got a -6705 error when trying to update the conf (like just using a new MAC@ to the access list)...
    Could you please help me?
    Even after fetching this conf file (using the IP@ & password), the Airport Utility still doesn't detect the Airport Extreme...
    TIA,
    Manu

    Hi Bob,
    I've check my PC FW & the rule for the Airport Utility allows in/out connections...
    However, I've turned off the wifi & used an Ethernet cable directly between the APX & my PC.
    I have re-done the "Manage other", indicating the IP@ & it worked.
    I have been able to modify the MAC@ list & update the conf on the APX.
    After the update, the APX appeared in the Airport Utility interface, when it wasn't when using the Wifi.
    I've switched back to Wifi, unplugged the Ethernet cable & restarted the Airport Utility &, once again, it doesn't detect the APX, when it does using the Wifi from the iMac.
    Do you think there's a way to access the APX directly from my PC using the Wifi access & without having to install a cable just the time to maintain the APX?
    Thanks again for your help,
    Manu

  • Close the window (browser after execute business action

    I have ceated a JSP which will trigger a popup. How can I close the popup after executing some business action in the pop.jsf ?
    in addition, since my popup will return value to window.opener, but I have tried that I have a page forward in the popup, it cannot locate the window.opener and hence cannot return value to the opening windows but only return me error 404 page not found.
    actually my popup is just like a searching form, user can input some string to serch the DB and then display the data in datatable. then user can pick up the record he would like to choose and returning a code back to the opening windows...so i want to close the popup, or returning the value to the opening windows if i have a screen refresh in the popup
    Can anyone help in this issue? Many thanks

    Hi,
    I'm not sure I've fully understood what you require... but here's something you can try.
    Lets say that you search for some user entered criteria and display results to the user in the pop up JSP. I am assuming that there would be some user action on which you want to return something to the parent window and then close the child window.
    You can access the parent window using:
    window.opener.document.<form name>.<field name>
    and then close the pop up window using a simple window.close();
    On the other hand, if you want to close the window w/o any user inputs (directly after the server side processing), then make the server side processing send a status parameter back to the pop up window. For example, set a parameter in the request which will trigger a JavaScript in the pop up window to close itself.
    Hope this helps.
    Cheers !
    Vinay

  • Web app leaving blank window open after streaming pdf under Adobe X

    We are working on upgrading to Adobe 10 for around 200 users.  We have a web based Java app that is used on our local network. We send out a request to send word/excel/pdf docs to a LAN location from a content database and then the app streams it from there to the user.  With pdfs, we have the pdfs open in adobe standard or reader instead of inside the browser. 
    When this is done, IE pops open a blank window for the streaming.  With Adobe V9, excel, and word, when the document is done streaming it closes this blank window down.
    With Adobe X, it finishes streaming the file, the pdf opens in Adobe, but the blank IE window never closes.  We need to find a fix to this since having 200 users close over 100 blank IE windows a day really isnt an acceptable work around. 
    Has anyone run across something similar?
    Thank you for your help.

    Theatrechica3
    How did you "downgrade" back to Adobe 9??  :-)
    Sorry for your troubles-
    All computers do eventually crash or develop glitches in the software- or turn out a crappy version like Reader X, so I save all downloads to another hardrive or disk for ease of access for when reinstalling them. Fortuanetly, I found that I had Reader 9 saved somewhere. I searched Adobe's downloads and I couldn't find a single trace of Reader 9 in their archives, of course I could've missed it. Maybe scouring the internet might turn up something.
    I uninstalled X and reinstalled 9. Of course, Adobe update then wants to reinstall X, but I dismissed the update and hid the Adobe update icon at the bottom of the screen.
    I'm running Vista 64 and the two programs didn't work well together. Matter of fact, since after the update was installed and uninstalled and I went back to Reader 9, Reader 9 has started to crash also- not a s bad as X did but it has it's newly found issues inherited from X- I guess.
    I have been getting a lot of 'Adobe Reader has stopped working and has to close' error messages lately.
    There are a few other readers out there that work as well if not better like Primo PDF. With Primo, I just didn't like all the advertisments one gets when they make a PDF- same with PDF995, so I use CutePDF's printer driver for making PDF's.I actually print more PDF's then I do reading them myself.
    I was hoping that Adobe would've got the message by now and correct their faux pas with an update or a better version like Reader XI, but I guess that they are content with what they put out- gag.
    Good luck. Maybe find a friend who has Reader 9 saved in their Downloads folder and move it over to a flash drive and then onto your machine??

  • Let ff auto delete file from c:windows\temp after download?

    Say you download a rar file. firefox builds the file first in C:\windows\temp as it download to completion. Then FF COPIES this file to the destination folder which could be on another drive. BUT FF never deletes this temp-file in c:windows\temp after copying. And you can NOT delete this file temp-file until you close FF. Deleting browser history temp files using ctrl-shift-del does not work.
    Why is this?
    Say I download many rar files at once. After each file completes firefox cCOPIES them to the destintaion directory. Again they go to another drive. BUT FF never deletes the temp-files form c:\windows\temp after completion of download and copying to the destintaion folder. UNLESS you close firefox.
    Meanwhile this can clog up my small SSD drive which is only 20GiB
    Need workaround please?

    OK you developers are such autistic a**holes. I just tried to manually delete the temp files FF makes when downloading files from c:\windows\temp. This did not free up space there's still the same amount of space left (163MB) on my SSD as before deleting the tempfiles form this dir. WTF is this?

  • I can't access my e-mail on MSN after downloading latest upgrade.

    After downloading latest update I can't view or send e-mail from my MSN through Firefox but I can from Internet Explorer.
    == URL of affected sites ==
    http://msn.com

    Same here. I try to access hotmail and all I got was a blank page from the Live login page that had been bookmarked and I was using for months.
    Solution: Bypass your bookmark, go directly to Windows Live and then login. It seems to kick-start FireFox.

Maybe you are looking for

  • BSOD, STOP 0xc0000034

    This happened after a failed overclock. I got the initial BSOD for a failed overclock, reset the CMOS, and then rebooted and Windows started to load then went to a black screen. After waiting for about 10 minutes I decided to force a restart. That's

  • ICal calendars on my Mac don't sync with iCloud

    Am I missing something? When I configured iCloud, I noticed that I suddenly had duplicates of my Address Book and Calenders. My Mac can sync with my phone, my phone can sync with iCloud, but I can't sync my Mac with iCloud. Maybe I'm too lazy and hav

  • Will the macbook be able to run...

    Counter-strike 1.6 The macbook I am getting is the better white one, and I am getting the router and a total of 1 gig ram.

  • Sd_partner_update

    Hi experts, can any one please help me out regarding this function module "sd_partner_update"  what exactly it do ? i dint find any documentation about this function module.. please help me out. and can any one explain me whats the input we need to g

  • Time to replace battery

    Hello there, My macbook pro has been shutting down suddenly-without the low battery sound alert. This has started happening recently-since last 2 weeks. I have read thru the forums here, but frankly there is so much info, i am am confused. The capaci