• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.
reply
    Bookmark Topic Watch Topic
  • New Topic