Window will close automatically with specifiy time

hai
have a peace day.
i want to close the window automatically after 8 hours using jsp or java code
please reply
thank u

hi!
you can use Java Script code within the your JSP page for closing the window automatically after spacified time. -- Java Script's setTimeOut event,
If you are using java- AWT, then Java Provides interface WindowListener. you can call the close function of the same after particular time span. But As per my knowldge you cant use Java's Util.Timer class for the same.
I think Java Script code scritptlet is the best option

Similar Messages

  • Window will close automatically with specfiy time using jsp

    hai
    have a peace day.
    i want to close the window or page automatically after 8 hours using jsp or java code
    please reply
    thank u

    One thing to consider is that you cannot enforce the use of JavaScript. You certainly can enforce the use of JSP. So if for example you are seeking to close the window as a security measure than the only way to do this is to timeout the user session in JSP as described in my first post.
    The first post asked if you can do this from Java and the answer remains it is impossible. Further it remains impossible for you to force this action upon the user using JavaScript which is a very important consideration.

  • TS1717 Ever since I downloaded and installed iTunes64Setup.exe  v. 6.0.1, it crashes on my Windows 7 system, with the useless message, "iTunes has stopped working.  A problem caused the program to stop working correctly.  Windows will close the program an

    iTunes64Setup.exe, even after multiple times of uninstalling and reinstalling with even a fresh download crashes with the message:
    "iTunes has stopped working.  A problem [unspecified] caused the program to stop working correctly.  Windows will close the program and notify you IF a solution is available."  I cannot get out of this loop and it renders my iPad HD useless.  I tried calling the Apple Store but was referred by an automated system to this web site.  I tried looking up the problem in the FAQ but it didn't help.
    merylew

    Hi there Nok Saensanoh,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    -Griff W.

  • Can't launch the organizer in Elements 13. "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."  This happed with Elements 11, too.

    Can't launch the organizer in Elements 13. "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."  This happed with Elements 11, too.

    juliana
    Do you have any version of Premiere Elements 13 or only Photoshop Elements 13 which comes with Elements Organizer 13?
    Let us look at the following for Elements Organizer 13....
    1. Deletion of disabling the Elements Organizer 13 setting file which is named psa.prf. In Windows 7, 8, o 8.1 64 bit, it is found in the
    path
    Local Disk C
    Users
    Owner
    AppData
    Roaming
    Adobe
    Elements Organizer
    13.0
    Organizer
    and in the Organizer Folder is the psa.prf file that you delete or disable by renaming it from psa.prf to psa.prfOLD.
    2. If the above gains you successful entry into the Elements Organizer 13, then you can
    a. create a new catalog
    and/or
    b. repair or optimize the current one
    See Elements Organizer 13/File Menu/Manage Catalogs/Catalog Manager.
    3. There are times that certain formats will bring the Elements Organizer down when you try to import those formats into
    it.  But, from what you wrote, your current problems do not sound media related.
    3. At your earliest opportunity, please update Elements Organizer 13 to 13.1 using its Help Menu/Updates.
    Please review and consider and then let us know the outcome.
    Thank you.
    ATR

  • HT5639 After installing the windows 7 64 bit, it will restart automatically with error in blue screen. in this case what should i do?  i have using bootcamp 5

    After installing the windows 7 64 bit, it will restart automatically with error in blue screen. in this case what should i do?  i have using bootcamp 5

    if it's restarting directly into an error, you can try troubleshooting (might be painful) or re-install windows with boot camp

  • HT1349 I have icloud on my pc with windows vista.  Recently, upon startup I receive an error that says applephotostream.exe has stopped working.  Windows will close this problem . . . any suggestions.  I tried to download the control panel again. no luck

    I have icloud on my pc with windows vista.  recently, upon startup I get a message that says applephotostream.exe has stopped working.  Windows will close this program  . . . I tried re-installing the icloud control panel, etc.  to no avail.  any leads?

    Hi, I have the same problem. Has anyone come forward with any advice on fixing the problem?

  • When I turn on my PC with Vista 64 bits it gives a message "ApplephotoStreams.exe has stopped working. Windows will close program.  Please help.

    When I turn on my PC with Vista 64 bits it gives me a message "ApplePhotoSream.exe" has stopped working correctly. Windows will close the program.
    Please help!!!

    Hi, I have the same problem. Has anyone come forward with any advice on fixing the problem?

  • I accepted a version update and now iTunes closes on launch with the message "iTunes has stopped working. Windows will close the program and notify you if a solution is available." What to do?

    I accepted a version update and now iTunes closes on launch with the message "iTunes has stopped working. Windows will close the program and notify you if a solution is available." What to do?

    Hey Todd Rubenson,
    Thanks for the question. I understand that you are experiencing issues with iTunes for Windows unexpectedly quitting. The following resource may provide a solution:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Thanks,
    Matt M.

  • I can't open Itunes on my laptop. "Itunes has stopped working. A problem causes the program to stop working correctly. windows will close the program and notify you if a solution is available" is the message. what is the problem here?

    I can't open my Itunes program in my laptop computer with windows 8. the message is "Itunes has stopped working. A problem causess the program to stop working properly. windows will close the program and notify you if a solution is available". I reboot  the machine, Uninstall and re install the  Itune program, stilll the same message pops up.

    The first thing to try is System Restore to take you back to a point in time when it did work. If that is not successful, create a new user on the computer. log in with that and see if ID will start. This will tell us if the problem is in the system/program or the user account.
    If it works in a new user account, see Replace Your Preferences and in addition to replacing the prefs, empty the InDesign Recovery folder that will be in the same location and the InDesign SavedData file.

  • "iTunes has stopped working.  A problem caused the program to stop working correctly.   Windows will close the program and notify you if a solution is available."

    Whenever I connect to the iTunes store i receive an error message "iTunes has stopped working.  A problem caused the program to stop working correctly.   Windows will close the program and notify you if a solution is available."    This causes iTunes to close.  I am using iTunes version 10.5.0.142 on a Windows Vista (64) PC.  I have reinstalled iTunes selecting the "repair" option and also uninstalled and reinstalled iTunes.  Any help will be deeply appreciated.  Thank you.  Below is the result of the diagnositc.
    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    HP-Pavilion BN474AV-ABA HPE-150t
    iTunes 10.5.0.142
    QuickTime not available
    FairPlay 1.13.35
    Apple Application Support 2.1.5
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.96
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.3.494
    Gracenote MusicID 1.9.3.106
    Gracenote Submit 1.9.3.136
    Gracenote DSP 1.9.3.44
    iTunes Serial Number 002FAD94098CD0E0
    Current user is not an administrator.
    The current local date and time is 2011-11-13 22:08:54.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    NVIDIA, NVIDIA GeForce GT 220
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: 2cb3fff3fa771d265b0f8ffdcca13b55
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name: {F4A2029C-16AA-4BDF-8DB7-9EC2A75B5991}
    Description: Realtek PCIe GBE Family Controller
    IP Address: 192.168.1.6
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.1.1
    DHCP Enabled: Yes
    DHCP Server: 192.168.1.1
    Lease Obtained: Sun Nov 13 21:09:29 2011
    Lease Expires: Mon Nov 14 21:09:29 2011
    DNS Servers: 192.168.1.1
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    SSL 3.0 Support: Enabled
    TLS 1.0 Support: Disabled
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was successful.
    Connection attempt to firmware update server was successful.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2011-11-13 22:02:08.
    **** CD/DVD Drive Tests ****
    LowerFilters: PxHlpa64 (2.0.0.0),
    UpperFilters: GEARAspiWDM (2.2.0.1),
    E: hp DVD A DH16ABLH, Rev 3HD9
    Data or MP3 CD in drive.
    Found 1 songs on CD, playing time 15:40 on CDROM media.
    Track 1, start time 00:02:00
    Get drive speed succeeded.
    The drive CDR speeds are: 8 16 24 32.
    The drive CDRW speeds are: 8.
    The drive DVDR speeds are: 8.
    The drive DVDRW speeds are: 8.
    The last failed audio CD burn had error code 4251(0x0000109b). It happened on drive E: hp CDDVDW TS-H653R on CDR media at speed 24X.
    **** Device Connectivity Tests ****
    iPodService 10.5.0.142 (x64) is currently running.
    iTunesHelper 10.5.0.142 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 5 Series/3400 Series Chipset Family USB Enhanced Host Controller - 3B34. Device is working properly.
    Intel(R) 5 Series/3400 Series Chipset Family USB Enhanced Host Controller - 3B3C. Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    VIA 1394 OHCI Compliant Host Controller. Device is working properly.
    Connected Device Information:
    Bruce's iTouch, iPod touch (2nd generation) running firmware version 4.2.1
    Serial Number: 1C9053CC201
    **** Device Sync Tests ****
    Sync tests completed successfully.

    Same exact thing with me.  And no help from apple.  Just dropped nearly $600 and cannot get a decent working setup.
    Apple's only suggestion was to uninstall iTunes and Quicktime, and re-install... of course (the I.T. Crowd tactic).
    The crash happens only on iTunes store access.

  • Itunes will no longer work on my Windows 8 PC. When I attempt to start the program a message says: A problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available.

    Itunes will no longer work on my Windows 8 PC. When I attempt to start the program a message says: A problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available.  I have tried to uninstall iTunes but the Windows uninstaller will not delete the program I get a message that says: A network error occurred while attempting to read file: C:\Windows|Installer|iTunes.msi.  How do I get iTunes to work again?

    Whentrying to uninstall iTunes (the first program that must be uninstalled per the instructions) I get a message:  A network error occurred while attempting to read file: C:\Windows|Installer|iTunes.msi. I can't even uninstall iTunes?
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page).
    http://majorgeeks.com/download.php?det=4459
    Here's a screenshot showing the particular links on the page that you should be clicking:
    After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
    Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
    When the dialog appears, choose to save the file.
    (2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Elements 13 crashes - Windows message - this program is not working correctly - windows will close it.

    I bought Elements 13 4 days ago through Amazon - so far it has not run for more than 5 minutes before Windows closes it down with the message - this program is not working correctly, windows will close it. I know this is not unusual but has anyone got a solution - apart from returning  it
    with a very unfavourable review? I have tried all the suggested fixes on the Adobe help site with no result.  Elements 10 runs OK on the same machine.
    Alternatively, is there any possible way to get support from Adobe?

    juliana
    Do you have any version of Premiere Elements 13 or only Photoshop Elements 13 which comes with Elements Organizer 13?
    Let us look at the following for Elements Organizer 13....
    1. Deletion of disabling the Elements Organizer 13 setting file which is named psa.prf. In Windows 7, 8, o 8.1 64 bit, it is found in the
    path
    Local Disk C
    Users
    Owner
    AppData
    Roaming
    Adobe
    Elements Organizer
    13.0
    Organizer
    and in the Organizer Folder is the psa.prf file that you delete or disable by renaming it from psa.prf to psa.prfOLD.
    2. If the above gains you successful entry into the Elements Organizer 13, then you can
    a. create a new catalog
    and/or
    b. repair or optimize the current one
    See Elements Organizer 13/File Menu/Manage Catalogs/Catalog Manager.
    3. There are times that certain formats will bring the Elements Organizer down when you try to import those formats into
    it.  But, from what you wrote, your current problems do not sound media related.
    3. At your earliest opportunity, please update Elements Organizer 13 to 13.1 using its Help Menu/Updates.
    Please review and consider and then let us know the outcome.
    Thank you.
    ATR

  • Apps will close automaticly

    Hey,
    i think i found a kind of bug.
    After syncing my iPod touch 2G with my iTunes 8(which is connected with my Apple-ID) all the Apps from the appstore will not work correct.
    They show up when i open them and after 2 Secons they will close automaticly.
    The standart Apple-Apps work fine.
    My solution:
    Go to Appstore with the ipod and install any software, so that you must type in your Apple-Id and password. After this all will work again, until the next sync.
    This works fine, but it's really enoying for me to do that every time.
    Any other solution?

    That happens sometimes
    Apps crashing
    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • I have iTunes 11.4 and Windows 7. Using iTunes on Windows 7, I get message that iTunes has stopped working and Windows will close the program and notify me if a solution is available. Same message for last two days. Anyone else getting this?

    I have iPad 2, iPhone 5s, both with iOS 7.1.2. I use PC with Windows 7 and hard wire internet service and iTunes to update apple products; no wi-fi. I updated iTunes to v11.4 on 09/11/14. I ran Windows update on 09/10/14. I did not try to open iTunes on my PC until yesterday 09/16/14. I got the message: "iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."  I got the same message today.  Does anyone know if this is a Windows problem and if a solution is coming or an iTunes problem?  I can get iTunes on iPad and iPhone.  All other programs PC are working correctly.  I use Norton Internet Service on PC.  I ran virus scans and repair/reinstall iTunes yesterday on PC.

    Hello notime4,
    The article linked below details some useful troubleshooting steps that can help stabilize iTunes on your computer.
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Cheers,
    Allen

  • I cannot open my firefox broswer. The message box appeared that said a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. Under that there are debug and close program buttons.

    I cannot open my firefox broswer. The message box appeared that said a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. Under that there are debug and close program buttons.

    JackieMars71 I would recommend reviewing your installation log files to determine if there are any errors during the installation process.  You can find information on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  You are welcome to post any specific errors you discover to this discussion.

Maybe you are looking for

  • Can't Select Slice in Fireworks

    For some reason I can no longer select slices. When I click on one the content below is selected. When I create new slices I can select them without a problem but after a while, especially after reopening the file, all slices are no longer selectable

  • Nano doesn't display artworks

    Hi, u lot, i'm new in here and I have recently purchased a iPod Nano, and have tested it. Now, I'm trouble shooting with a problem, when in the iTunes I put to use a artwork, it appears, then I activate as told to do so in the User's manual, and I tr

  • My earphone is broken

    My earphone for Nano 2GB is broken And I have the 2 years warranty Does Apple give me another earphone?

  • ODI Interface (NZLOAD command) error out!

    Hi, The ODI Interface loads(NZLOAD) error out, Error: "org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last): File ""<string>"", line 1, in ? File ""<string>"", line 184, in load File ""<string>"", line 216, in pipedload Load

  • Need to wait

    Hi, is it possible to have a wait function inbetween the 2 actions here? import fl.transitions.*; import fl.transitions.easing.*; TransitionManager.start(img1_mc, {type:Fade, direction:Transition.OUT, duration:9, easing:Strong.easeOut}); TransitionMa