JSP :: Please Wait Page

Hi,
I have a jsp page which displays over 100 records from the database. While the fetching is done it shows me a blank screen. How can i avoid it? I want to show the user a page which displays a waiting message, while in the background the fecthing of the recodrs is processed. and as soon as the fetching is done..i want to redirect to it.
please help me out on this.
Thanks in advance.

One way to do this is...
Insert a page between the requesting page and the actual page that fetches the records.
In short if you have some thing like A -- > C (where A is the page that carries a link to C and C is the page that fetches the records), change it to A --> B --> C(where B is a page on which you display your nice 'Wait' message. In the source code for B, put an HTML meta tag like...
<head>
<meta http-equiv="Refresh" content="0; url=<put the URL pointing to page C here>">
</head>

Similar Messages

  • Implementing a "please wait" page in a pageflow portlet

    Hello-
    I am using a page flow to trigger some actions on a remote system. The action
    can take a few seconds to complete, and I would like to show an intermediate page
    directly after invoking the action that would display a "please wait" message
    while the action is finshing.
    I was able to acomplish this outside the portal by the following:
    -User clicks button to invoke action
    -action just forwards to wait.jsp
    -javascript in wait.jsp calls the actual remote action that takes a while
    -when remote action has completed, action forwards to result page
    This works fine outside the portal...I am simply auto-submitting a form on the
    wait.jsp page with the proper action. The problem is that I can't get it to work
    in the portal. I am unable to find a way to generate the proper url on the wait.jsp
    page to submit to the action to that the page flow stays "inside" the portal.
    If anyone has implemented this type of behavior in the portal, I would appreciate
    any thoughts...
    thanks,
    Howie

    Unfortunately href generates the url internaly (with a quite complicated
    algorithm), so I don't think you will find anything. A dirty manual
    url generation (by examining some sample urls generated by netui:anchor)
    probably might be much faster.
    However, if you find something nicer I would be glad to hear about it.
    BR,
    don
    howie oakes wrote:
    Hi Don-
    Thanks for the reply-
    I tried using the <netui:anchor> tag, but the problem is that it generates the
    entire <a href> tag...I need just the url value so that I can use it in the javascript
    to auto-refresh the page to the proper action...
    I may try poking around the API to see if there is something I use there...
    don <[email protected]> wrote:
    Hi Howie,
    I think you could try at least two methods:
    1. Try to use netui anchor, which will generate a valid url for both
    portal and standalone pages. One of the pageFlows probably should be
    nested in the other one, so you can link it without problems.
    If it doesn't work, or you can't use netui:anchor for some reason here
    is another tip (It is not too nice, but I think it should work):
    1. Try to get the last part of the URL: run the pageFlow without portal,
    so you can get an url that points to it.
    It will be something like this:
    host/application/folder1/.../folderN/someAction.do or
    host/application/folder1/.../folderN/somePageFlow.jpf
    I guess you will need the .../folderN/someAction.do part as the relative
    URL of the pageFlow/action.
    2. Add a netui:base tag to your jsp page. It will create a prefix for
    each urls on the page, so you can use the url you got in 1.
    I'm not sure, but the url you got from 1 and 2 may overlap, in this case
    you simply remove the overlaping part from 1.
    Hope it will work,
    don
    Howie Oakes wrote:
    Hello-
    I am using a page flow to trigger some actions on a remote system.The action
    can take a few seconds to complete, and I would like to show an intermediatepage
    directly after invoking the action that would display a "please wait"message
    while the action is finshing.
    I was able to acomplish this outside the portal by the following:
    -User clicks button to invoke action
    -action just forwards to wait.jsp
    -javascript in wait.jsp calls the actual remote action that takes awhile
    -when remote action has completed, action forwards to result page
    This works fine outside the portal...I am simply auto-submitting aform on the
    wait.jsp page with the proper action. The problem is that I can't getit to work
    in the portal. I am unable to find a way to generate the proper urlon the wait.jsp
    page to submit to the action to that the page flow stays "inside" theportal.
    If anyone has implemented this type of behavior in the portal, I wouldappreciate
    any thoughts...
    thanks,
    Howie

  • Adobe PDF displays "please wait" preview in OPEN file under Windows XP

    An Adobe form created in LifeCycle 8.2, enabled for Adobe Reader version 9, displays "Please Wait" page in the preview in place of the actual document form view. Is there a way to disable this error meassage?

    Hi,
    no you cannot change this behavior.
    This messages is present in all XFA forms (dynamic PDF's) you create with Designer and will be displayed when the PDF viewer cannot handle the XFA data inside the PDF.
    In general only Acrobat and Reader support XFA forms, most of the other PDF viewers don't.

  • Question about Page Builder behavior - how to get a "please wait message" ?

    Hi all together,
    I got a question about Portal Framework / Page Buider handling iView Integration.
    We are working with a lot of App Integrator iViews and often the pages includes with app integrator are loading longer than the rest of the portal. So there is the idea to put in a "please wait while loading message" for the enduser.
    I analysed the html code, the page builder is generating and foud out 3 diffrent approaches how the page buider is rendering the IFRAME with the integrated application configured with an app integrator iView.
    My question is how can I influence this behavior to put a "please wait while loading message"?
    Different types of iView integration in the client I have seen:
    a) direct loading of the content in the IFRAME (<iframe id="" ... scr="/mysource">)
    b) Filling the iframe with 'about:blank' and loading the content later by filling a form with JS
         ( <iframe id="" .... scr="about:blank">and after the iframe  <form id="" action="mysource" ...>
    c) Filling the iframe with a html file from the portal layout and loading the content later by filling a form with JS (similar to b)
         ( <iframe id=""" ....scr="/irj/portalapps/com.sap.test.mylayout/html/blank.html>
    I checked that variant b) is getting generated when loading a page with different components on the side (not only the app integrator iview) and variant c) is generated when just one app integrator iView is positioned (no portal page).
    Goal: To get the "please wait picture" I want to know how to get variant c) in cases of different elements on one page
    So I would be able to put this picture on the HTML-Page in the Portal layout (blank.html)
    Hope, someone with a deep portal / page builder know-how can help me out!
    Another way: Does anybody knows another way how to put a "please wait message" while app integrator application is not loaded yet?
    Thanks in Advance and kind regards,
    Jens
    Edited by: Jens Kohne on Nov 24, 2010 9:08 AM

    Hi Jens,
    there are several reasons why you don't get the loading animation:
    Web Dynpro ABAP: https://service.sap.com/sap/support/notes/1432358 -> missing configuration
    Wrong height size for iView: https://service.sap.com/sap/support/notes/1358494 -> alter configuration of the iFrame height (loading animation gets displayed, but is hidden)
    FPN, BSP, BEx: https://service.sap.com/sap/support/notes/1290995 -> AI isn't showing the animation because of performance considerations. I guess that is your case. Depending on your portal version this is a simple service configuration or involves some customization.
    br,
    Tobias

  • Display ("Please Wait") message WHILE the page loads

    Hello All,
    I have adf/jsf application. How to add message " Please Wait While Page Loads" WHILE+* the page is loading ?
    I am thinking of Window.confirm(" Please Wait While The Page Loads") Is there a better (More Modern) way to do this?_
    Many Thanks,

    John, when I type <af:statusIndicator and ctrl + space, JDev does not show statusIndicator as one of the choices. I tried adding code but it seems it does not recognize statusIndicator as one of the tags. I am using other jsf and adf tags on the same page :(
    Thanks,

  • Is there a setting to automatically close the "please wait while we generate your document" page that pops up when downloading a pdf file?

    I am constantly downloading pdf's and excel files from our company software which uses a web browser to access it. When I download a file, firefox generates a full screen pop up window that states "please wait while we generate your document." My problem with it is the fact that pop up window does not close after the download. I have to manually close the window. Is there a way to set that pop up window to close automatically after the file has finished downloading and is open in foxit reader or excel or word or whatever?
    Thanks,
    Tony

    Hi,
    You could try is to '''Disable''' the Foxit, Adobe and Office '''Plugins''' in '''Tools '''('''Alt '''+ '''T''') > '''Add-ons''' and use the normal Firefox Open with (when you click on a link) to browse/open it in the required application.
    [https://support.mozilla.org/en-US/kb/Using%20plugins%20with%20Firefox Using plugins]

  • Please Wait Screen

    I'd like to impose a 'please wait' screen between 2 JSP pages. I have a jsp page that prompts the end-user for reporting parameters, such as begin-date & end-date(and others). The user clicks a submit button which links to another jsp page that actually runs the report. The report page calls a bean that calls some Oracle packages, which in turn formats the results in an HTML table. Depending on the report parameters, it can take several minutes to generate the report (millions of rows possible). I want to have some kind of intermediate page with a please wait message, so the user doesn't get impatient and start clicking around, thinking that nothings happening. I have teenage daughters, I know the impatience routine all too well.
    I thought about using a forward declarative, and an include, but based on the doc I've read, it doesn't look like they would work. Any ideas where I could go with this.
    Should I have the destination page try to display the please wait screen, or should the caller display the screen and wait for the destination to catch up?
    I'm still fairly new to JSP, but not new to programming (20+ years). Any help would be appreciated.

    Try using a wait page by putting this code at the top level of your page
    if ( session.getValue( "waitPage" ) == null ) {
         session.putValue( "waitPage", Boolean.TRUE );
         // I have the WAIT_PAGE constant defined in an external file...it's just
         // the html string that builds the "loading...please wait" message
         out.println(WAIT_PAGE);
         out.close();
    }else {
         session.removeValue( "waitPage" );
         //     End of logic for displaying the wait message
         //     build your page in here

  • Please wait while ...

    HI ppl,
    Give me some ideas how to display a msg "Please wait while page loads " while jsp page is doing long database operations.
    I know how to achieve this in html pages using javascript when page loads big image but with long database operations javscript trick doesnt works.
    Any thoughts???
    Thanks in advance.

    There is one little sneaky trick that might work, but I'm not sure if this will work all the time. Here's what you do:
    1. page where you fill in a form to store in the database or something. Hit submit
    2. submit to a simple JSP page which has the text you want to show the user, plus all the submitted data in hidden inputs. in the body tag, add an onLoad='document.formname.submit();' to submit the hidden input fields to the page that does the database action.
    The old page SHOULD stay visible until the database operations are completed, as long as you don't generate ANY output before the database transactions are complete... but again don't shoot me if it doesn't (or better yet, shoot the browser for clearing the display buffer to soon) :-)

  • Help me: about implementing a waitting page.

    Base in B/S, first I use a jsp form to receiving some parameter,then servlet request the parameter to process,to forward the result to a jsp page.
    But at this time I want to implement a waitting page(eg."loading,please wait.").
    How can i do this!
    thanks in advance!

    frame?
    We have used lots of frames,But I don't understand your intent!
    Please details!
    regards

  • Displaying a wait page without javascript/ meta refresh

    I am using JSPs with struts 1. I wanna show a wait page after submitting the form until it process.
    But in my case i wanna do it without javascripts or meta refreshes. any idea?

    ruwanin84 wrote:
    As far as I know, meta -refresh is not that much recommended.Please elaborate and prove. This makes really no sense to me.
    any way that's my last option. do you have any idea of checking the token?That's just a toggle in the request/session on which the server side code can intercept. This still require a request being invoked by the client.

  • Photo synching reads 'Please wait, updating library'?

    Hi, synching OK with all other features of iTunes however my photo library just has the message: 'updating library, please wait'. It never stops & so I need help please.
    Running Windows Vista & no issues with my iPod Touch.

    Have you looked at the past discussions on this same problem? You can easily find them by using the search function the right and search the iPad forum for "updating library". There is one page of results for the last 90 days.

  • Boot up of Windows Server 2012 Essentials seems slow (extended Please Wait screen) and there are errors in Health Report

    Dear Sir or Madam,
    I have been experimenting with the evaluation version of WS2012e trying to get the installation and subsequent build into an optimal set up, and once I have everything I want it to do mapped out, I'll set it up with the full version with using the key that
    I bought.
    However, I've noticed that the server seems to experience a delay during cold boot - it sits with a Please Wait screen for about 60-90 seconds before it presents the screen with an option to Log on.  I have also discovered from running Health
    Report, that there are some entries in the event logs which appear to coincide with start up times, and which seem to be interconnected to each other in the issues they are describing, and I have copied an example of one of those health reports below. 
    I assume that everything sorts itself out in due course, because the events say the process will be re-attempted and these errors don't repeat again after the system has booted up.  I also have the server set to suspend when not in use with the Lights
    Out add in, so it shouldn't need to cold boot often - but I wondered if there's a way to correct these errors so that they don't hold up the boot up process?  I'm also concerned that these errors will cause me later problems with storage pools and
    the like at a later date - the disk replication one seems particularly worrying.  Alternatively, are these errors just a normal part of the start up process - the timing of when different processes start relative to each other - and can be safely ignored?
    In trying to understand what the events describe, I thought that WE2012e acted as its own Domain Controller, and yet it seems from the event log entries that it is waiting for another server to respond to AD / DC requests (but there isn't another server
    on my home network).  The other thing I remember from when I first tried out WS2012e, is that it took control of DHCP or DNS from the router, and I found that frustrating when waking up my laptop and it wouldn't connect to the internet until the server
    had fully booted up and re-asserted its network settings.  Is this another symptom of the same problem?  I remember seeing a posting at the SBS Diva's site about how to update the server so that it gave connected PCs a backup option for connecting
    to the internet when the server wasn't available, and was going to try to find that again to see if that helped.
    By way of background - there isn't another server in my home network.  This is an attempt to do a clean install onto the same hardware that I ran the initial trial of WS2012e, now that the trial has expired, so I'm not trying to migrate from an existing
    server.  I moved all the data on the trial server off onto an external disk, with the intention of importing it back once I had the Storage Pools set up the way I wanted on the new build, and since I didn't want to keep anything else about the server
    trial.  Am I correct in thinking that I don't need to go down the Migration route during installation, and can go through a Clean install in this circumstance? 
    I'm running on an Asus P8-H77-i motherboard, with an i5-3470s CPU and 16MB RAM, and I have WS2012e installed on 256Mb SSD formatted under GPT with uEFI boot - the latter being the main reason for the reinstall, instead of just giving the Evaluation
    version the new key on the original MBR set up.  I've also enabled Intel Rapid Storage and Rapid Start - and successfully set aside the hibernate partition on the SSD - but discovered that this is about forcing a hibernate after suspend, allowing
    the system to power down until its needed again, and then resuming from hibernate on the SSD rather than cold boot each time.  That seems to work, but doesn't improve the cold boot times at all, which was what I was hoping for - ideally the way my
    laptop will boot from cold in a few seconds into Windows 8. 
    Yours faithfully,
    Avon
    ======
    Health Report extract.
    Critical Errors in Event Logs in Last 24 Hours
     DFSR
    Event ID: 3221226674
    The DFS Replication service failed to contact domain controller  to access
    configuration information. Replication is stopped. The service will try again
    during the next configuration polling cycle, which will occur in 60 minutes.
    This event can be caused by TCP/IP connectivity, firewall, Active Directory
    Domain Services, or DNS issues.
    Additional Information:
    Error: 160 (One or more arguments are not correct.)
    Last occurrence: 26 May 2014 18:51:28
    Total occurrence(s): 2
     DNS
    Event ID: 2147487661
    The DNS server is waiting for Active Directory Domain Services (AD DS) to signal that the initial synchronization of the directory has been completed. The DNS server service cannot start until the initial synchronization is complete because critical DNS
    data might not yet be replicated onto this domain controller. If events in the AD DS event log indicate that there is a problem with DNS name resolution, consider adding the IP address of another DNS server for this domain to the DNS server list in the Internet
    Protocol properties of this computer. This event will be logged every two minutes until AD DS has signaled that the initial synchronization has successfully completed.
    Last occurrence: 26 May 2014 18:51:15
    Total occurrence(s): 2
     ADWS
    Event ID: 3221226674
    This computer is now hosting the specified directory instance, but Active Directory Web Services could not service it. Active Directory Web Services will retry this operation periodically.
    Last occurrence: 26 May 2014 18:51:08
    Total occurrence(s): 2
     NTDS General
    Event ID: 2147486534
    The security of this directory server can be significantly enhanced by configuring the server to reject SASL (Negotiate,
    Kerberos, NTLM, or Digest) LDAP binds that do not request signing (integrity verification) and LDAP simple binds that
    are performed on a cleartext (non-SSL/TLS-encrypted) connection.  Even if no clients are using such binds,
    configuring the server to reject them will improve the security of this server.
    Some clients may currently be relying on unsigned SASL binds or LDAP simple binds over a non-SSL/TLS connection,
    and will stop working if this configuration change is made.  To assist in identifying these clients, if such binds occur this
    directory server will log a summary event once every 24 hours indicating how many such binds
    occurred.  You are encouraged to configure those clients to not use such binds.  Once no such events are observed
    for an extended period, it is recommended that you configure the server to reject such binds.
    For more details and information on how to make this configuration change to the server, please see http://go.microsoft.com/fwlink/?LinkID=87923.
    You can enable additional logging to log an event each time a client makes such a bind, including
    information on which client made the bind.  To do so, please raise the setting for the "LDAP Interface Events" event logging category
    to level 2 or higher.
    Last occurrence: 26 May 2014 18:51:00
    Total occurrence(s): 2
    =======

    Hi KerguelanAvon,
    Based on your description, it seems to be hard to narrow down the cause of this issue. Please refer to following operations and monitor the result. It may help us to go further, and then solve this issue.
    1. Please refer to the following article and troubleshoot slow boot.
    New Slow Logon, Slow Boot Troubleshooting Content
    2. On your server 2012 essentials, please start a BPA scan and fix all that it can find, then monitor the result.
    Regarding to those critical Errors in Health Report, please perform
    Dcdiag on the server. Meanwhile, please refer to the following article and troubleshoot network connectivity, firewall setting and AD DS issue.
    DFSR Event 1202 (DFS Replication)
    Hope this helps.
    Best regards,
    Justin Gu
    Hi Justin,
    I'm reading through the links you referred me to but it's taking a while.  In the meantime I tried running BPA as you suggested.  I'm sure when I ran it before, it didn't say much beyond 81 checks completed, and I couldn't find a way to get any
    more detail.
    Now it says
    Problem:
    The DNS client is not configured to point only to the internal IP address of the server.
    Impact:
    If the DNS client is not configured to point only to the internal IP address of the server, DNS name resolution can fail.
    Resolution:
    To resolve this problem:
    1. From the client computer, open the Properties page for the network connection.
    2. Make sure that DNS is configured to point only to the internal IP address of the server.
    Except that it is.
    Connection-specific DNS Suffix:
    Description: Broadcom 802.11n Network Adapter
    Physical Address: ‎00-1B-B1-28-AE-63
    DHCP Enabled: Yes
    IPv4 Address: 192.168.1.133
    IPv4 Subnet Mask: 255.255.255.0
    Lease Obtained: 03 June 2014 21:56:49
    Lease Expires: 05 June 2014 20:24:20
    IPv4 Default Gateway: 192.168.1.1
    IPv4 DHCP Server: 192.168.1.1
    IPv4 DNS Server: 192.168.1.49
    IPv4 WINS Server:
    NetBIOS over Tcpip Enabled: Yes
    Link-local IPv6 Address: fe80::80ef:48d5:9fde:f10e%14
    IPv6 Default Gateway:
    IPv6 DNS Server:
    I'll try rebooting from the current windows 7 build over to windows 8 on my dual boot laptop, to see if that makes any difference, since it is the only other client PC connected to the server at the moment.
    Thanks, Avon.

  • How to send a 'loading, please wait...' message to user

    My web application needs to load about 1000 item names to screen. It takes about half a minute before the names are returned.
    While waiting, the screen is blank and user wouldn't know what's going on. Is there a way to send a first page ('Loading,please wait...')to the browser, and then desplay the result page after the procedure completed.
    I searched in this forum before posting but didn't get help. I'm pretty new in this area, please help me.
    Thanks.

    By clicking a button. It's like a principal logins to school site, the first page he/she sees is student name page, the page is a big dropdown down list with all the student names in this school.
    I tried some javescript but didn't work. I think the problem could be:
    1. it takes time to get data from table and generate a html doc.
    2. it takes time to display the page.
    Reason1 is main problem and any javascript won't work at this step.
    Any suggestions, please?

  • 3 cfselect with "loading please wait" information

    Hi
    I have 3 cfselect boxes bind to a component. 2nd select box
    is depend on the 1st and 3rd is depend on the 2nd.
    Its taking much time to load the select boxes and before
    loading all the information user is submitting the page, giving the
    errors. and not only that if the internet is slow, its taking much
    time to load the data.
    So for this i want to display the word "page loading please
    wait..." how can i do this? can I do this in CF or i need to use
    the seperate AJAX for displaying it.

    If the amount of data is reasonably small, you might be
    better off getting it all when you first create the page and using
    js to control the selects.

  • Jsp:useBean vs page import in JSP

    Hi,
    What is the difference between jsp:useBean vs page import in JSP?
    By using page import also I can call the method of the class, apart from jsp:useBean does have scope associated with it. I don't think there is any change between both the 2. Yes by using jsp:useBean we can set the property and get the property as well.
    Is there any major differences between the 2 and when to use which ? Please clarify.
    Thanks.

    797836 wrote:
    Hi,
    What is the difference between jsp:useBean vs page import in JSP?
    By using page import also I can call the method of the class, apart from jsp:useBean does have scope associated with it. I don't think there is any change between both the 2. Yes by using jsp:useBean we can set the property and get the property as well.
    Is there any major differences between the 2 and when to use which ? Please clarify.
    Thanks.Yes there is a difference.
    If you use import, then you have to create/use the reference object to use the class methods. And you can't define the scopes like session, page .. etc. Apart from this you will be using scriptlets <% %>.
    if you are using jsp:useBean , then you can skip the above activities. useBean takes care of it.
    or you can say jsp has provided a utility to access the beans without creating its object or using scriptlets.

Maybe you are looking for