Jsp waiting for servlet response how to make

Hi All,
i have some doubts about making servlet response for jsp request
Am watched some online reservation sites it search some hotel names untill the hotel names display (between that time)
the image processing shows how can i make like that via jsp and servlet plz expalin with example code plz.
how to make jsp wait to servlet response like that plz reply
Thanks

It's a client side thing. Learn Javascript (and CSS) and if necessary also learn Ajax afterwards. There are nice tutorials at w3schools.com. This issue is not really related to JSP/Servlets.
Displaying the progress image isn't that hard. Just show some <div> element with an image during the onclick.

Similar Messages

  • Sending a request to a servlet without waiting for a response

    Hi,
    I have a client application that needs to send information to a servlet for processing. I would like to be able to send the information in question without having to wait for a response from the servlet. The reason for this is that I want to speed up the "sending" process. I know that http communication is based on TCP which is a connection-oriented network protocol, but I thought maybe there was a work-around to this.
    Thanks in advance for your help,
    Chris

    There r two ways to do this. First, if you can modify the application simply don't wait for the response do whatever you want and ignore the response. If you need the response in order to continue you will have to wait, but you can do this in a separate thread, while the main thread can do other things.
    Second, if you can't modify the application but you can modify the servlet, make the servlet respond as quick as possible, doing the work after having answered. Once again if the application needs the results of the process there is no way, you'll have to wait.

  • How to call a ALSB Proxy Service and don't wait for his response. Publish M

    Hi,
    I have a Proxy Service called PS1 that will invoke and another Proxy service Called PS_ProcessingNode that invokes 10 differents webservices during the orchestration and takes about 2 minuts.
    I would like that if invoke PS1 that will invokes PS_ProcessingNode (asyncronously) and immediatly PS1 will return "OK" (don't wait for the response of PS_ProcessingNode) .
    For simulate this scenario I am testing with:
    - PS_Processing is a WSDL without response that has a JavaCallout with a Sleeper of 10 seconds.
    - PS invokes with "Publish action" to PS_ProcessingNode but is waiting for PS_Processsing finish. I don't want this beahivour.
    How I can do it for PS doesn't wait for the response of the PS_ProcessingNode?
    Thanks.

    - PS invokes with "Publish action" to PS_ProcessingNode but is waiting for PS_Processsing finish. I don't want this behavior.
    I'm glad you have a solution using JMS. But still Publish action should not wait for response. If you are seeing that behavior, you can contact Support with an SR to get it fixed.
    Manoj

  • Remote Function module to wait for the response.

    Hi .
    i just created the remote function module to call the webmethod by putting the parameters in tables (tab) for webmethods to pick the data from RFC and parameters in changing (tab) to collect the reponse from webmethods ,i just want to know if this is the right way of creating the RFC for webmethods and the RFC need to wait for certain time until it should get the response from webmethods.
    can any body guide me in this on how i can make the rfc to wait untill it will get the response from webmethods.
    waiting for your response.
    regards.
    Varma

    Hi Jaswanth,
    FM used to upload the data from the non sap system to the SAP sytem is the GUI_UPLOAD ans GUI_DOWLOAD is downloading the data from SAP to the presentation server .This file can be xls,tab or space deliminatior ettxt fiel.
    I think this was your requirement.
    Pooja

  • Azure Service Bus client: Best way to wait for server response?

    Hi,
    I have a web service that needs to send a request on Azure Service Bus and wait for the response. The web service must operate synchronous as seen from the web service client, that is:
    public Response WebServiceMethod(Request)
    senderQueueClient.Send(Request);
    // wait for response from receiverQueueClient
    // and return to web serviuce client
    return response;
    This can be solved using mutexes that are updated in "receiverClientQueue.OnMessage". But that is hard work and if I Google the matter, I find several options to deal with this - especially when using .NET 4.5.  And there are also some built-in
    stuff in the QueueClient.
    But how to do this best? Can someone point me in the right (easy) direction?
    Werner

    Hi,
    May I know what are you use queue to achieve? can you give us further information for a better help.
    Regards

  • Jakarta HTTPClient , dont wont to wait for a response.

    Hi there.
    I wonder if I can do that , I want to send a post\get request to another server but I don�t want to wait for a response from it.
    Actually, I want to continue with my program regardless to the response and don�t want to be delayed while waiting.
    How can I do it?
    Hope I made myself clear, thanks.
    Shlomi

    spawn a Thread that will send the request. When it's time to process the response, check the Thread to see if any response was returned from the server.
    example
    public class MyThread extends Thread{
        private String response = null;
        private int status = 0;
        private boolean complete = false;
        public void run(){
             // TODO: et the response from the server
             // set the response and status and complete (synchronize all variable when doing this)
        public boolean isComplete(){
            return complete;
        public String getStatus(){ return status; }
        public String getResponse(){ return response; }
    public class Demo(){
        public static void main(String args[]){
            // do some work
            MyThread thread = new MyThread();
            thread.start();
            // do some more work (don't wait for server response
            // now it's time to get the response
            while (!thread.isComplete()){
                try{   Thread.sleep(1000); } // sleep for 1 second
                catch (Exception e){ }
            String response = thread.getResponse();

  • For some reason my video just says, "waiting for a response from _____"?

    For some reason the video chat doesnt even read that the other person has accepted the chat? I know the person who I am trying to video chat has no problem connecting with other people. Help please?

    HI,
    iChat 2 through to iChat 6 then Messages beta in Lion and Messages full app in Mountain Lion can do Video chats.
    I have an older G4/1ghz Dual Processor computer booted in to OS X 10.4.11 and iChat 3.1.9
    I have issues with Messages trying to Invite the iChat 3.x.x machine.
    It's video chat window does the same as yours, stating  it is " Waiting for a response from xxxx"
    However no Visible invite ever appears on the iChat 3. computer.
    On the other hand I can invite from iChat 3 to Messages and make a connection.
    I am not having a issue from Snow Leopard (iChat 5) to Messages in Mountain Lion.
    I had based my first reply on the Question
    For some reason the video chat doesn't even read that the other person has accepted the chat?
    (i.e. nothing about the computers involved).
    From the newest MacBook Pro (not retina) to the new MacBook Pro (not retina).
    This bit in your latest reply does really tell me where you bought them and what was installed when you got them and what is Installed now.
    Some people have described problems on Lion machines after installing the latest Apple Remote Desktop Client
    (Everyone has Apple Remote Desktop Client on their System and it is used with iChat in iChat Screen Sharing - it provides the Engine as it were.  It also does the Screen Sharing within the Finder as well as providing one end of the Apple Remote Desktop help)
    As a starting point I would go to the app's menu > Preferences > Video Section ans set the Bandwidth Limit on both machines to 500kbps
    This can help if there are vast differences in Internet speeds at either end.
    8:01 PM      Tuesday; August 21, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • CCP related: A timeout occured waiting for a response from the ECU

    Hello All,
                I had just started using ECU Calibration tool kit software. Iam using USB 8473 for my application.When I tried to run the VI after loading the *.A2L file, I see an error message saying "A timeout occured waiting for a response from the ECU ". Does anyone know how to communicate with the ECU through CCP.
            Iam pretty sure that Iam using the right cable. I also checked the address of the parameters using Get property.vi what iam trying to read, wether they are matching with the address in the *.A2L file or not.They are matching. However I was able to communicate with my ECU when I use the same device to read the data over J1939 data link, based on arbitration ID's, with the Vi's from CAN Frame to Channel Conversion Library.
        Can any pls help me out how to communicate with my ECU using CAN Calibration Toolkit software.
    -Lucky.

    Hello,
              I am sending you an attachment of the manual for the ECU Calibration tool kit . Please go through the manual it will clarify your doubt. Moreover , check for can vi's in the example finder in labVIEW. Those will help ....
    I am sending you a link which gives you some insight about the installation of  CCP command set and the use of the toolkit with the USB CAN hardware.
    http://digital.ni.com/softlib.nsf/websearch/D7DE248D07CAD00086256ED3004BAB8A?opendocument&node=13206...
    Drivers and Updates: ECU Measurement and Calibration Toolkit 2.1
    Attachments:
    can manual.pdf ‏1437 KB

  • Firefox freezes about five seconds after I open it, and whenever I use Ctrl+alt+delete to close it I get told that it is waiting for a response from me.

    I am having a problem with Firefox. Whenever I open it, it runs fine for about five seconds and then freezes. A small white rectangle appears in the upper left corner of the browser window. The screen still scrolls fine, but whenever I try clicking on anything (including the menus in the toolbar), it just gives me an unresponsive 'ding' sound. When I try closing the programme with Ctrl+alt+delete, I get a message saying 'The system cannot end this programme as it is waiting for a response from you'. I originally had this problem with an earlier version of Firefox and tried installing Firefox 4 to see if this helped. It worked for two days and began doing it again. I have already tried un- and re-installing Firefox and restarting my computer, and Firefox will not run properly for long enough to let me disable any add-ons or plug-ins. What can I do to fix this?
    I've added a couple of screencaps of the problem. (or tried to)
    [http://i53.tinypic.com/161hvh2.jpg The white rectangle]
    [http://i51.tinypic.com/dwsq1.png Error message]

    Have also since found out that to start FF4 in safe mode you just hold shift whilst double-clicking the icon. We only find these things out after the event, murphy's law!

  • Still waiting for a response from Adobe regarding the post "Printing a pdf from a marked-up pdf".

    Still waiting for a response from Adobe regarding the post "Printing a pdf from a marked-up pdf" dated 15 Dec 2012 9:20 AM.

    Look everyone that comes here with a support problems has gone through all the normal channels, around and  round in circles with no one seeming to be interested. They've called every phone number, every email address they can find. They have been put on hold and bounced fifty times to another operator only to be hung up on. If Adobe would bring back support to main land and have people that know what's going on instead of having people that people can barely understand read from scripts. Scripted information only applies about 10 % of the time. I'm just giving people an alternative. after they have torn their hair out going the normal route.  If they had been able to get a solution they wouldn't be coming here for help.
    There should be a forum set up just for people to air these issues and Adobe employees forced to man it. Then we wouldn't have to have such a Bad attitude. Right now Adobe's Support reputation is worse than Intuit's which did have the absolutely worse on the Planet. Now they are number 2.
    You know it yourself that Adobe's support is absolutely worse than terible. However to prevent me from being banned from the forums I will simply will provide the adobecare email address from now on
    So let's sweep it under the rug.

  • IMessage and Facetime won't activate on new iphone 5.  Both indicate "Waiting for Activation."  How do I fix?

    iMessage and Facetime won't activate on new iphone 5.  Both indicate "Waiting for Activation."  How do I fix?

    I just activated a new iphone 4s and restored from a backup of my former iphone 3gs - had the same problem - Waiting for Activation on both facetime and imessage. I tried all the usual fixes, reset all, hard reset, turn facetime/imessage on and off, and on and on. 2 hours on phone with tech support to no avail.
    I just found the fix on my own - no clue if it will work for everyone. But it's ridiculously easy and worth a shot so you don't waste hours and hours resetting/synching as I did.
    All I did was go into settings>phone>my number - erase it by touching the ">". Then re-enter it making sure to input with the "+" and country code. For example in the US: +1(508) 569-9901
    No hard reset necessary. I went into settings>facetime and imessage, immediately after inputting my phone number again and the dreaded "waiting for activation" message was gone. I tested sending a message - came thru to the other party fine and facetiming another device (my mom's ipad some distance away) and it rang thru with everything working properly i.e., video/audio.

  • Ichat "waiting for a response"

    HI,
    I just made an AOL account so i could ichat with my friend. When i try to initiate a call it keeps saying "waiting for a response". When she tries to call me
    it says the same thing for her. What do i do?
    PS: I dont even get a message to accept the call
    I have OS X mavericks

    Hi,
    IF you are sure iChat is set up correctly are you sure your routing device is ?
    There are ways to get AIM or Google Logins to access the servers to see your Buddy List by dropping the login port to 443
    However this will not allow you to Video Chat (Audio Only Chat or Screen Share)
    I am also not sure if you are trying to chat from AIM to AIM or Jabber to Jabber Buddies (you cannot do AIM to Jabber)
    8:18 PM      Sunday; October 30, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I downloaded 12 songs and am now "waiting" for them. How long does it take. I have been waiting for over 15min. and only got 2songs.

    I downloaded 12 songs and am now "waiting" for them. How long does it take. I have been waiting for over 15min. and only got 2songs.

    It should be almost immediate.
    Is iTunes currently running on both computers?

  • I am currently studying abroad in Italy and my imessage has been working with wifi up until now. I just wen to PAris for the weekend and when I came back it says that Imessage is waiting for activation. How do I fix this? Thanks!

    I am currently studying abroad in Italy and my imessage has been working with wifi up until now. I just wen to PAris for the weekend and when I came back it says that Imessage is waiting for activation. How do I fix this? Thanks!

    If iMessage has become deactivated on your iPhone, which, apparently it has, the phone will need to send an SMS to activate it again. Therefore, you'll need a cellular connection.

  • I published my app and it shows us (waiting for review) and how much time it will take to (Ready for sale) ?

    i published my app and it shows us (waiting for review) and how much time it will take to (Ready for sale) ?

    5-10 days or longer.

Maybe you are looking for

  • How To "Dis-Embed" An Image From A .Doc File?

    Here's what I've got. I'm working on a flier to be commercially printed; it contains four photos and text. I've spent a lot of time with each photo, massaging each in PE to maximize its quality when it's eventually printed, and saved each as a TIFF f

  • Video size is larger after transfer

    I have a 60gb JVC Everio HD camera. I'm saving my transfers to a 500gb external drive. I currently have 25gb of video on my camera. When video was transferred to external drive the transfer size shows 211gb. Does anyone know why after transfer the fi

  • There is no table  in database system BW_POS

    hi gurus, i am trying to access tables from SQL Server using DB connect.i have created one source system using SAP library help. when right click source system and selected 'select Database tables' i am getting the following error. <b>"There is no ta

  • Thread ... cannot allocate new log, sequence ...

    I have an error in alert.log: Thread 1 cannot allocate new log, sequence ... Private strand flush not completeIs it dangerous? What does it mean? What can I do this mistake will disappear?

  • ICal events are moving around the calender

    I tried to move an event from one date to another tonight, and after that iCal started flashing that event back and forward between the original date to the new one right in front of my eyes, and another event has been replicated and moved to another