• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

how to close window as soon as the download completed?

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

i have one link for download,when i clicks on that link,it is asking the password.in the backend i written the code to check for authenticated password.if that password what i have entered is authenticated,that link should get downloaded.i acheieved all this functionality.

now what i want to do is,after the download completed,that page which asking to enter the password has to close.how can i do that?i tried it by using window.close() in password.jsp page.
but it closes all the functionality,even download is also not coming.
can anyone help?

Thank you,
Regards,
Sreelakshmi.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic