Timer task (Time Schduling ) in JSP for hit/browse another site page

Hi All ,
I want to develope a JSP application which is run the perticular link in every 30 min.
means i want to set the scheduling of 30 min which is browese(run) my another server link like http://nileshpatel.com/abc.jsp
How can i do it OR Time Scheduling is possible in JSP?
Thanks
Nilesh Patel

Yeah, I couldn't get it to work on the onLoad funtion either but it is probably a nested quote problem. Put it in a function and call that function from the onLoad event.
<html>
<head>
  <script type="text/javascript">
    function resubmit() {
      setTimeout("top.location.href='test.html'",3000);
      return true;
  </script>
</head>
<body onLoad="resubmit();">
</body>Problems: This will only work if the user has the page with the above code opened when the 30min passes by. If they go to some other page, it won't work. If the user goes surfing around multiple pages with this code on it, the 30 minutes will be reset at each point the user gets to a new page.
You are better off writing a normal Java application with a timer that runs as a service. Every 30 minutes it would trigger a browser to open the web page.

Similar Messages

  • JSP for mobile browser

    I was wondering wheather JSP can be use to write pages for mobile devices to be browsed. How do you do so?

    If the mobile device has a browser it doesn't matter.
    On the other side you would use wml for mobiles not cappable of rendering html.
    In that case you can use wml tags in your jsp, so the mobile renders the wml.
    NOKIA has excellent forums, tools and documentation.
    www.nokia.com
    I do not work there and I even do not like their mobiles, but the rest is excellent :-)
    Regards
    Tarik

  • If I check a website offer, then try to delete , it refuses to go. I can log out, but then every time I want to use the browser, that site comes up and refuses to go. What can I do?

    I am having a very annoying problem with some websites that take possession of the Safari browser. I cannot delete them and when I manage to quit the browser, the next time I bring up the browser this website spews its message once again. What can I do?  At the moment, it is a website called "Inovative Web Hosting", though I have had many other problems with other sites as well. Ella

      Quit Safari.
      Hold the shift key down and relaunch Safari.
    Reset Safari.
    Click Safari in the menu bar.
    From the drop down select "Reset Safari".
    Uncheck the box next to  " Remove saved names and passwords".
    Click "Reset".
    Empty Caches
    Safari > Preference > Advanced
    Checkmark the box for "Show Develop menu in menu bar".
    Develop menu will appear in the Safari menu bar.
    Click Develop and select "Empty Caches" from the dropdown.
    Turn off Extensions if any, and launch Safari.
    Safari > Preferences > Extensions

  • Displaying Image In JSP for Mozilla Browser

    Hai all
    How to display the .gif image in JSP file using Mozilla browser

    do you really think you give enougth information???
    the answer to your question is using the html tag <img src='image_url'>

  • How to change color of a button for specific time interval in jsp

    How to change color of a button for specific time interval in jsp.
    Please help.
    Thanks in advance.

    This was driving me crazy, too--and the previous answers did not seem to work. I eventually found that if I click one of the data symbols in the graph in exactly the right spot (see below), it selects only the data symbols and not the line. I can tell this because the little selection dots will be around each data symbol, but no selection dots will be on the line between the data symbols - like the graphic in Yvan's answer. Then and only then will the color symbol in the tool bar show the color of the data symbol, instead of the color of the line. I believe that you then have to first click on the color swatch in the toolbar and then select your color (or choose Show Colors and select from the color tool). Just clicking a color in the crayon box, for example, did not seem to work unless I first clicked on the color swatch in the toolbar, then clicked Show Colors on that dropdown, and +only then+ clicked the crayon or whatever.
    _The right spot to click_ seems to be just above the exact center of the data symbol, at least for the diamond shape symbol that I prefer. Sometimes it takes several tries to hit the right spot. If I miss it, the whole line is selected, which is indicated by the little selection dots on the line, between the data symbols. When I click the right spot, those selection dots go away, leaving only the data symbols selected. Then I can change the color, as described above.
    I hope this works for you too.

  • What is a maximum remoteness between time capsule and device for having a good wifi signal?

    What is a maximum remoteness between time capsule and device for having a good wifi signal?

    In open air.. line of sight you should work very well over 100M and most likely still work at 200M.
    Unfortunately in houses.. there is almost no way to tell. But you can assume signal on 5ghz will dimish very rapidly.. 2 or 3 walls/floors/major obstacles and nothing left.. 2.4ghz should manage your whole house but you might find signal in far corners unusable.  Count the number of walls, floors/ceilings it is going through in a straight path, router to client. You can think of it as a 4" pipe.. and even the angles are important.. if it hits a wall made of brick at acute angle it is twice as thick as hitting it dead on. Mirrors, tinted glass are metal reflectors.. reinforced concrete is both a reflector with metal bars and absorber with concrete.. add a bit of moisture content and it is a great block.

  • Can I get a time and percentage guide for rendering?

    This seems like a silly point to raise, but one of the things I am missing most with the new FCP is the box that would appear giving you a percentage of render completed and an estimate of the time left for it to finish. Is there a box I can tick somewhere to have this with FCPX or do I have to put up with the disappearing orange line?
    I found it really useful knowing how much time I had left for a render, its annoying me having to guess how quickly the orange line is disappearing! If so, I hope Apple include this in an update soon, its the little things that ruin the user experience...

    In the centre of the toolbar there is a circular indicator which goes around while background tasks are going on.
    Click this and a window will open with progress bars showing render status.
    Usually there's a disclosure triangle you can twirl for even more detailed info about the individual background tasks.
    However.
    If you are using ProRes 422 or other codec which you can deit natively (such as XDCAM EX) you can turn off background rendering (in preferences) as you can play back your footage without rendering - unless you've added effects etc, in which case you will need to render to see the effect.
    Andy

  • I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. Can someone resolve this problem.

    I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.

    Contact App Store support. They're the folks who can help with Account issues.
    Regards
    TD

  • After upgrade to mavericks: time machine keeps asking for my back up disk and won't open unless i plug in the disk. any solutions?

    after upgrade to mavericks: time machine keeps asking for my back up disk and won't open unless i plug in the disk. any solutions?
    before the upgrade, i could open time machine without the need for having the back up disk plugged in.

    Ok. I got it to work, sort of....
    As I mentioned before I tried the "disk password" and the "Time capsule Password" options to see if I can start the back up again or start a new backup. Neither worked. So I tried the firmware down grade, but like you said that did not work. I then decided to try the "Account password" option and I have never used this option before becasue it states that if there is data on the drive it would not be acessable after creating an account. Since I wiped out the disk that was nno problem. When I created the new account and choose the drive it asked for the user name and password. I entered the info for the new account I just created(FYI this has nothing to do with your login username and password), bingo! It worked!
    Now I have two partitions on the TC disk. The old one and now the new account. I am guessing this is to be used if I have multiple computers, which I don't.
    I any case, I am going to wipe out everything again and try again to do a backup the way I had it before.

  • Can i install itunes multiple times on one computer for multiple users?

    Can i install itunes multiple times on one computer for multiple users?

    Like most applications you only need to install it once for it to be available to all users. (That said it is possible to install an application and only make it available to the current user, but that's rarely needed.)
    tt2

  • TS3367 When trying to use FaceTime I can't because it says it is turned off in settings, it then ask do I want to turn it on , tap for yes and it sits there spinning. Face time is on in settings?

    When trying to use FaceTime I can't because it says it is turned off in settings, it then ask do I want to turn it on , tap for yes and it sits there spinning. Face time is on in settings?

    Have you tried signing out of your Apple ID, restart the iPad and then start all over again?
    Go to Settings>iTunes & App Stores>Apple ID. Tap the ID and sign out. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Then go back to Settings>iTunes & App Stores>Apple ID. Sign in again. Then go to Settings>FaceTime>On. See if it will stay turned on and it it does, sign in and setup.

  • I have 2 auxillary disk drives for my MacBokk Pro. Time Machine uses one for backup and I use the other for storage, but I am unable to create a new folder or drag and drop files or folders to the aux drive.

    I am unable to create a new folder on either of my auxillary disk drives.  I can access the files and folders that were there when I transferred one of the drives from a PC.  Time machine uses one for backup and I want to use the other to store photos which are large files.  An help would be appreciated.

    Thanks for the reply.  If I reformat the drive will I be able to access the files on it from the MAC.  I do not share the drive with a PC.  The files were originally created on a PC which I no longer use.  I do want to continue to access the files put there by the PC.  I would like to not have to copy them over to the MAC hard drive just to use them.  The second aux drive is new and works fine because it was formatted by the MAC.  I can drag and drop files there and work with just as if they were on the internal drive.

  • I use my time capsule for wifi station and back up. However suddely time machien can no longer find the time captule drive , used for back up...

    Time machiene can no longer find the back up files on my time captule..
    I have have manged to see the files via finder.
    dleted the files, and also gave time captule a new name, and pasword.
    All seemd fine but somehow the new back up could not be finished.
    Repeated all the steps, but now had the  computer hooked up to the time captule with a network kabel ( make it go quicker..)
    Still no succes...
    Seems somhowe acces to the time captule is difficult for the time machien software...

    You may find useful advice in this post.

  • Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times

    Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times.
    Please help to set it up, thanks in advance

    You need to give more info..
    Firstly only works for what.. networking.. backup.. wireless. You need more nouns.. more adjectives... describe what you want and what fails.. then we can figure out why.
    Most likely you have bridged it when it should be in router mode..
    Most likely you are using Lion or ML which has the airport utility bridge the TC by default.
    Change it to working as a router. That might help.
    If you press reset button it will default back to router btw.
    If you are on Lion.. use a real utility. http://support.apple.com/kb/DL1547

  • Time Machine keeps asking for password to connect to the Time Capsule server

    I just got my MPB back from having the logic board replaced.
    Nothing was changed on my Mac OS 10.6.8, except that when my MPB went kaput I used a Windows OS PC and loaded the Air port Utility and did do a firmware upgrade to 7.6.1 for the Time Capsule(TC)
    Now that I am trying to do a backup of my MPB I keep getting a message asking me to enter the password for the (TC) server so that Time Machine(TM) can connect to it. I typed in the disk password and the weird thing is that the disk icon flashed quickly showing the TM clock icon and the immediately went to the 3 people holding hands icon. When I waited or forced the backup it would come up with an error stating that my user name and password are incorrect.  The other weird thing is when I put in a wrong password it starts "connecting..." but then hangs causing Sys Prefs to stop responding. I either have to cancel the connection or force quit Sys Prefs.
    Steps already taken:
    - Deleted all the Keychain passwords for the TC
    - Reset the TC both by using the menu option and push button power cycle
    - I have tried using the "Time Capsule password" option for file sharing
    It does the same thing with other external drives connected via the USB on the TC. However, that same external drive connected directly to the computer USB port works just fine and the icon stayed as the TM clock icon.
    It just does not want to the connect to the TC drives!
    I have read about the firmware being the problem, but how do I revert to the previous FW version for the TC?
    This is going to be stupid not being able to use the TC drive to do the backups, but for the meantime I am using the external drive connected via USB 2.slow!
    Thanks in advance!

    Ok. I got it to work, sort of....
    As I mentioned before I tried the "disk password" and the "Time capsule Password" options to see if I can start the back up again or start a new backup. Neither worked. So I tried the firmware down grade, but like you said that did not work. I then decided to try the "Account password" option and I have never used this option before becasue it states that if there is data on the drive it would not be acessable after creating an account. Since I wiped out the disk that was nno problem. When I created the new account and choose the drive it asked for the user name and password. I entered the info for the new account I just created(FYI this has nothing to do with your login username and password), bingo! It worked!
    Now I have two partitions on the TC disk. The old one and now the new account. I am guessing this is to be used if I have multiple computers, which I don't.
    I any case, I am going to wipe out everything again and try again to do a backup the way I had it before.

Maybe you are looking for

  • ColdFusion and Windows 8

    So I just purchased my entire team of developers windows 8 machines, and I have found that CF does not install on Windows 8. How is it possible that Adobe does not have a Windows 8 release yet? I have been an avid CF supporter for over a decade but t

  • My podcasts wont play due to "Episode Unavailible"

    I've downloaded the podcasts I  want to listen to but when I play it, I get a pop up telling me it is temporarily unavailable.

  • Is it possible to insert a document into another?

    I would like to insert a document into another document without cutting and pasting. That is, to "insert" it into the present document. I have been unable to find that option. Is it possible?

  • Runtime error when running Authoware session in Vista

    Hi One of our users has reported to a error when running an authorware session in Vista: "I get the message when trying to open the session... It says: Authorware runtime does not work anymore.." Any ideas why this user is getting this problem? thank

  • Backups - Files still locked after beginarchive

    We are using Commvault to backup the files on our UNIX server. We have created a script to run before the backup starts. The script does this: DISABLELOGIN "appname"; DISABLELOGIN "appname2"; LOGOUTALLUSERS "Y"; BEGINARCHIVE "appname" "dbname" "appna