Userrequest takes to long user - user send request again and again and....

Hallo,
I have a HTML Page that display an Button to send the userrequest to a Server.
But sometimes the response takes a long time, so that the user push the Button twice or more. The result is that the serverresponse takes longer and longer and .....
So now my question:
Is there a common way to solve these problem???
BTW I'm new for servlet programming
Kind regards
Hugo Balder

OK,
but if the request takes only 10milisec the browser
is "flipping" the pages.
Is there a way to disabeld the button when the user
request is send to the server and to enable the
button if the reqest is received? Through JavaScript, probably. Not exactly sure how, but you would not be able to do it with pure JSP/Servlets... you would need some client side script.
But what happend if
the connection is faild (for a short time) ?Dunno. You will have to decide that.
One option is to wait a specific short period of time (very short), and see how far the process has progressed. If it is done, go streight to the results page. If it looks like it will take a few seconds or more, then go to the progress bar/please wait screen and make sure it has a decent refresh rate (so the page doesn't stay still for too long, but doesn't send too many requests to the server. either).

Similar Messages

  • SquirrelMail Takes a long time to send mail

    Am running SquirrelMail 1.4.10a in Tiger Server.
    Users can login, receive mail, compose new mail, and read mail fine. My problem is when a user sends mail, it takes up to 45 secs to complete the send. The sent email will show up in the "Sent" folder okay and it is sent, however, it never closes out of the "Compose" window and seems to time out.
    Any ideas?
    Do I need to add a hosts file or edit an entry into my current hosts file?
    Thank you,
    Steve K

    Hi Steve,
    I'm having the same problem with 2 server that I'm running, web mail runs perfect but the compose window won't refresh after clicking on send!! didi you have any luck fixing this issue? i found out that for some people restarting apache would help but not for me!! maybe you should try!!

  • Why does it take so long for your iTunes request to be added

    I am a huge fan of the Apple Store, And I was looking through (ps) this is the Australian store, anyway, I was looking for Sonic X, and noticed they didnt have it , So I requested, its been a week since they have not even added it, I really loved that show and would like to have it digitally Downloaded instead of having dvds all over the place Anyway, how long and why does it take forever for a tv series request be finally added to the iTunes store?

    A bit young?
    They have a request page so people can tell the iTunes Store about media they would like to have but is not currently available. Apple can judge the number of requests for this material and try to enter a contract with the copyright holder to make the product available. It is not an order form, like on Amazon or a fast food restaurant where you put in your order and they find it and have it ready for you. They can't call Sega and ask for one copy of it to make it available to you. They have to enter into a contract giving them rights to offer it for download and have a payment schedule. Not something you are going to be able to do straight away.
    And if Sega doesn't want to sell it on the Apple Store in Australia you won't be able to get it from there.

  • It takes a long time to open an app and sometimes it will just crash, any idea how to fix it?

    My four year old Macbook Pro couldn't start yesterday and after going through solutions and all, it worked. But now it's freaking laggy and whenever I want to open an app, it takes a long time or the app will just crash. Any idea how to fix it? I really need the speed and everything back.

    noeleeeen,
    so you have an external hard disk, onto which you deleted/moved files from your internal hard disk, so that you now have 143 GB or so free on your internal hard disk — is that correct? Is the external disk purely for backups (e.g. a Time Machine destination), or does it function as a supplement to your internal disk?
    Was it entirely your personal data files (documents, photos, movies, music, &c.) which you’d deleted or moved to the external disk, or did you also delete/move apps, libraries, &c. over there?
    I’m not familiar with Echofon Lite, so I can’t comment on it, but an Apple-supplied app like the App Store shouldn’t crash.
    Have you tried running Disk Utility yet, to see if its verification process gives your disks its seal of approval?

  • Netflix, HBO Go, ABC Tv app on my apple tv take a long time to download my videos and they are choppy, how can I resolve this issue? My apple TV is running off of WiFi in my apartment.

    Netflix, HBO Go, ABC TV along with other apple TV apps, take a very long time to download the video and they are choppy when running. My apple TV runs off of WiFi in my apartment. When trying to download updates, it take a long time and then a video screen with "This Update was not Successful. Apple TV couldn't be downloaded at this time. Try again later." What can I do to resolve this issue? I purchased this apple TV in May 2013 new.

    That will be an issue with the network
    What is your current connection via speedtest.net?
    Make sure DNS is set to auto (settings - general -network)
    Since you are in an apartment the local wifi network is more prone to interference, try ethernet

  • Remote users sending email - RBL and SMTP authentication

    I've read about the problem of using RBL's with remote Outlook IMAP/SMTP users who may be using dynamically assigned IP addresses. There is a good chance that they will be appear on the RBL and so not be able to send email via the GWIA.
    One work around is to have them send their email via their ISP's SMTP server, but this is a pain, because when they are back in the office, then need to switch their SMTP server back to the inhouse one.
    So on the GW 7.0.3 server running on SLES 10, I wondered if the one host could handle multiple GWIA's??
    1st existing GWIA:
    To handle the regular in/out email with RBL's protection on it.
    2nd new GWIA on a separate port but same IP address to handle just inbound email. This would be used by remote users and require authentication so no need for an RBL on it.
    Is this a sound approach?
    Any gotchas for setting up two gwia's on the one server and IP address besides separate ports?
    I am aware there is the option of using the Groupiwse client or webmail, but firstly these users don't want to change from 'LookOut" due to their address book synch with their mobile phones and secondly sometimes they like to use their smart phones for remote email synchronisation.

    Maybe I should simplify this a little...
    Can the one host handle multiple GWIA's??
    1st existing GWIA:
    To handle the regular in/out email with RBL's protection on it.
    2nd new GWIA on the same host and IP address, but on a separate port to handle just inbound email. This would be used by remote users and require authentication.

  • Mail takes a long time to send messages

    After a power outage in my neighborhood and being given new incoming and outgoing mail servers by my ISP -- AT&T and it's Yahoo portal -- Mail is taking a long time to actually send messages after clicking the send button -- a minute or two. Thunderbird sends them immediately.
    I've grown fond of Mail. Anybody have any suggestions as to what the problem might be and how I can fix it?
    Thanks,
    Eric Weir
    Message was edited by: EricWeir

    I had this problem and just got it fixed so thought I'd post up. I have a gmail account and the problem started 3 or 4 days ago.(no recent system changes or anything I can think of that coincided with the problem) An additional symptom is that Mail wasn't showing me new messages anymore either. I could go onto the web server for gmail and there was new emails waiting but even clicking on "Get Mail" wouldn't bring them into Mail.
    I found in the Window tab a choice for Activity and one for Connection Doctor. I brought up Activity first and saw 5 items and nothing seemed to be changing on any of them. Got Connection Doctor up and it connected and said everything was fine (you can bring up details to see what ports and such it uses which confirmed that things were going ok) I went back to activity and hit the "stop sign" for all of the activity that was going on with the plan to just stop everything to try sending a new message. I started from the top and about half way through I heard the Zoom of a message going out (Mail had been working on sending the message for the last few minutes) and suddenly new activities were popping up in the list and processing quickly.
    I tried a few test messages and everything is working like normal again. I'm guessing something got stuck and that is causing the slow messages at least in my case. Check it out!
    I'm on a iMac with Snow Leopard.

  • Takes a long time to send an email

    I think I've finally figured out how to set up all the settings in my iPhone to send out emails both from home (using RCN) and from outside home.
    But no matter where I try it, whether wifi or edge, it seems that once I press the "send" button it takes at least a minute to hear the whooshing sound of the email going out.
    Is this normal? Or is there a setting I haven't turned on or off?
    Thanks.

    Thanks! After a bit of tinkering I got that to work. I had to add the port number after the outgoing server, AND add a password in the "optional" password field in the iPhone Mail preferences.
    so mine ended up being:
    mail.mydomain.com:26 (my host specified that port number)
    username: [email protected]
    password: mypassword
    Glad that's solved. Finally! Speeding outgoing mail! woo hoo!

  • Firefox takes a long time to load a website and sometimes won't open at all

    Firefox is running really slow and takes ages to load a website if it loads at all, i'm having the same problem with other browsers but Skype and Windows Messenger are working fine. I've reset my wireless a number of times but this doesn't solve the problem. It was fine earlier today but since this evening every time i attempt to open a website it won't work.
    == This happened ==
    Every time Firefox opened
    == this evening

    Can you check your Windows Firewall settings? It's possible that it's routing Firefox requests differently. At least one other Firefox user has reported that his Windows Firewall was set to block Firefox 3.6.

  • Text messages do not send or takes too long to send

    When i try to send a text they wont send at all or they will take forever to send. i'll also receive texts 30 minutes after they were originally sent.

    First, when was the last time you deleted any messages?  This problem is usually due to too many messages both sent and received.  You might try to delete old threads or start all over fresh.  Also, the SIM may be at fault, so make sure it is seated snuggly and correctly in the slot.  I will say that it takes a long time to delete all messages and also takes time to delete large amounts at the same time.  This is the first 2 steps I would try before going on to anything else.  Again, while deleting, it will take some time and may appear that your phone has frozen.  So, do this when you can let the phone sit idle.

  • Creation of Transfer Order takes a long time and finally throws spool error

    Hi,
    I create Sales Order of type OR. I do delivery successfully. But when i proceed to create Transfer Order, it takes painfully long time and finally after painful 30 mins or so, it throws a error message, 'Error in spool call' with a blank page. I click on save icon and transfer order is created.
    But the creation takes very long time. I checked SP01 and there are no requests.
    Any suggestions will be rewarded.
    Regards,
    Mangesh

    Dear,
              Kindly contact your Basis team it will help you.
             After error please take the screen short of SU53 and give to basis team.
    May be it will help you.
    Regards,
    Sandip

  • Replacement takes too long about 3 months

    Is ipad replacement takes too long for about 3 months? And every month sending you a message saying the unit has arrived and yet there is still a factory defect it's like obviously they're making an excuse over again. shoud I asked for an incentive for waiting too long by the way im from Philippines.

    In my part its unfair because I paid that for cash and I just used it for only 1 week and obviously its a factory defect how come they cannot replaced it right.away??? Ive been a using apple products since 2003 or 2004 if im not mistaken those were the days first generation of iPod shuffle. Its very sad. (Sigh)!

  • Aperture 3.1 takes incredibly long time to start

    Since after the upgrade from 3.0.x to 3.1 Aperture takes a long time to start up. I click on the Aperture icon in the dock, the icon bounces for almost a minute, then it stays still for more than a minute, doing nothing and without the "light bulb" indicator that the app is running. It's just sitting there in the dock. After a total of 2-5 minutes, the Aperture window opens and I can start working.
    I tried many things suggested in the forums to speed up Aperture:
    I turned off Faces
    I turned off sharing of previews with iLife and iWork
    I turned off using embedded JPEGs from camera
    I deleted all Aperture preferences as I thought there might be a corruption after upgrade
    I removed all plugins from Aperture plugin folder to make sure nothing is interfering
    I used the Aperture rebuild and repair options on the library
    I created a new Aperture library and imported my photos from the old library into a fresh one
    I downloaded and installed the Aperture 3.1 update again to make sure nothing got corrupted during update installation
    Nothing helped. Aperture takes 2-3 minutes to fully start.
    Plugins in use: NIK Software's Viveza 2 and HDR Efex Pro, Tiltshift for Aperture. That's it. And, as I said, it doesn't help if I take them out of Aperture's plugin folder so they don't get loaded. Problem still remains.
    My library isn't that big: 29GB in 8230 items. Is 2-3 minutes a normal startup time?
    Has anyone experienced a similar problem after upgrading? As I literally exchanged everything underneath Aperture (deleted preference files, created new library and imported photos from old lib) I don't know what else I could try. Totally uninstall Aperture and re-install it again?
    Any suggestions what this could be?
    On a sidenote, interestingly Logic Pro takes about the same amount of time to start. The icon bounces in the dock for almost 1 minute, then I hear the harddisk working for another minute until the splash screen finally appears. Logic Pro is loaded after 2 minutes and 20 seconds. I could boot my whole Mac 4x in that timeframe.

    To everybody having this problem. I found out what the culprit was. As a documentation here is what it was.
    I read some posts here on the forums that mounted USB sticks or flash cards would make Aperture super slow while importing photos. I have Boot Camp installed and have a Windows 7 partition on the same drive as my MacOS. So, out of curiosity, I forced it to unmount as the partition automatically gets mounted by the OS.
    Voilà! That seems to have been the culprit! Now both Aperture and Logic (which also had to think 2 minutes before it decided to start) display the splash screen in seconds and start like they are supposed to.
    Make sure you have no drives mounted when starting these applications. This helped bringing down the starting time from 2 minutes and 20 seconds to just a few seconds. Of course, if you have your library on another drive you have to have it mounted. Maybe it only takes so long when you have Boot Camp and an NTFS partition. But if you experience lags starting these apps, try unmounting what you don't need.

  • Repairing permissions takes a long time!!

    Ever since upgrading to Leopard I've found that repairing permissions takes a long time (30 to 60 minutes), and repairing the disc takes even longer. I've recently run the Apple Hardware Test - everything passed, then ran a 3rd party memory test ("Memtest"), and everything was "OK", and I used "Leopard Cache Cleaner" to clear all the caches, but still it took 18 minutes to verify permissions, then 22 minutes to repair them, which seems a long time to me. The blue progress bar goes immediately to about 10% saying estimated time is 1 minute, stays there for about 15 minutes then progress actually starts. Can anyone advise?
    Tim

    Yes, RP has been problematic since 10.5.0. We're all a bit frustrated...
    You can speed the process by not choosing to "Verify" permissions. Just run the "Repair" permissions, no need to verify also, you're just doing extra work.
    -mj
    Message was edited by: macjack

  • Why Does Captivate 4 Take So Long to Close?

    I’m using Captivate 4. Sometimes it takes a long time to close a project and the next time I open Captivate, it takes a long time to open, moving very slow through “loading content.” Once I remove and re-install, and then update the patch, it works. But then it does it again. Someone said that it has to do with a corrupt preference or settings file, so when I re-loaded, I didn’t make any changes like adding for example, the alignment bar (which I usually use). Is there anything else that can be done? Does Captivate 5 have a fix for this by any chance?
    Phyllis K. Day

    Welcome to our community
    Unless something has gone catastrophically wrong, you should never have to perform the uninstall/reinstall/reapply the patch hokey pokey. So that's just wasted effort. There is a simple way to perform what I call the "Factory Reset".
    I recently described how to do this in the thread linked below:
    Click here to view
    I might question why this is needed at all. Perhaps you are unaware of some things that help you avoid issues with Captivate.
    For example:
    How many slides are in your projects? We normally recommend keeping projects somewhere between 50-65 slides as a rule of thumb guideline for the upper limit.
    Where exactly are your projects residing when you make edits? Frequently we see folks working with projects on a network drive. This is less than optimal and will often cause issues and slowness and project corruption. Work locally off your C drive and periodically copy the project the network server to be backed up.
    Hopefully something here was helpful to you... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for

  • How can I delete addresses in a received email before forwarding?

    I want to clean up a message before forwarding it to someone on my iPad.  Cannot find out hoe to delete sections of received email before sending on.  Read a double tap would give me a delete option but it does not.  So much for buying books.  Also h

  • How do I locate a clip in the timeline from the browser

    I am using FCE and I know that I can locate a clip from the timeline by using shift F. I want to check on a clip in the browser and find where it is in the timeline. How do I do that?

  • Idoc to Jdbc using stored procedure

    Greetings All,   In my scenario i want to send the idoc from SAP system to SQL database using the stored procedure. I want ack back from JDBC adapter when the record is sucessfully inserted in DB table. There after i can update the status of idoc sen

  • CC desktop app (OSX 10.7.5) doesn't show installed software any more. How can I fix this?

    Hi, Hope somebody can help with the problem I'm having this morning. After updating the Creative Cloud Desktop app for OSX, the CC Desktop app no longer shows my installed software (Photoshop 6 & CC, Fireworks CS6, Dreamweaver CC, Illustrator CS6 & C

  • Recovery of iTunes Library from Trash?

    I have really messed up. I was trying to remove one album from my Library, and somehow the ENTIRE Library got trashed, and now i can't get it back. I have not deleted my trash, so they're all still there, but how (or can) I return them to iTunes? Man