Message While Loading JSP

some of my jsp's take a very long time to appear on the screen...some users complain about that because they don't know if the server is down or if the server is working...
So I would like to show them a kind of message like.
"Page Loading Please wait..."
in the Same Page during the load time.
Can any One help me out in this.
Thanks in Advance
Sampath

I agree with limeybrit9. Your first choice is to tune the JSP as well as the query. I also had a page that was taking a long time to display, maybe because of its nature. But I looked at my queries and tuned the database by creating an index. And it made my page come back much much faster (amazing how much the indexing help). However, because of the nature of the page, it would be valid for it to take a little more time than a typical response.
SO, I created a wait page. The page from which the user requests the page that you are having problems with, should call this wait page. In the HEAD section of the page, you will have a refresh text which will go and call the actual JSP that brings the user the report. Just substitute the following found in the page with yours to get a good idea--->JSPURLLINK, WAITING.gif (a moving image), ANIMAGE.gif (application image) ---->
Goodluck.
<head>
<title>Please Wait...</title>
<link rel="stylesheet"
href="../../stylesheets/stylesheet.css"
type="text/css">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="-1">
<meta http-equiv="Refresh" content="0; url=JSPURLLINK">
</head>
<body>
<p align="center">
<img src="../../images/ANIMAGE.gif" width="117" height="81"><br>
</p>
<br><br><br><center><h1>Depending on the number of records,<br> this report may take some time.<br><br><br>Please wait.</h1></center>
<center>
<table width="60%">
<tr>
<td>
<hr noshade size="1" color="#C0C0C0" width="200" align="center">
<p align="center">
<img src="../../images/WAITING.gif" alt="Please Wait..." width="216" height="18" align="center">
</p>
<hr noshade size="1" color="#C0C0C0" width="200" align="center">
<p align="center"><small>
If this wait page does not automatically redirect<br>
your browser to the next page, please click <a href="JSPURLLINK>HERE</a>.<br>
        </small></p>
        </td>
      </tr>
</table>
</center> 
</body>
</html>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Error message while loading

    Dear Friends,
    i am getting error message while loading data in the cube, yesterday i got the same error message while loading ODS
    the error message is as follows:
    Value '差旅费 - ERIC BADEN - MEETING WITH E&Y & AYKIM     ' (hex. '5DEE65C58D390020002D002000450052004900430020004200') of charac.
    Thank you
    Mohammad Riaz

    Hi
    It seems that some updates were done on the source system side and whicle entering the value so character has been enetered which is not identifed by the Bw system.
    The data has to be corrected in the source system, you will have to confirm it with your client that what the data should be and for the tiem being you can load it till PSA and correct the data in PSA, and push it manually.
    Give the PSA details to your client, it will conatin the data in source system format, and they will know what value has to be changed.
    Hope this helps
    Regards
    Shilpa

  • Error message while loading XML parser into db

    I get the following error message while loading xmlparserv2.jar
    ORA-29534 referenced object SYSTEM.oracle/xml/parser/v2/XMLNOde could not be resolved
    ORA-29545: badly formed class: java.lang.NullPointerException
    using XSU111 package

    I had the same problem. I did a search of the forum looking for the error number (that's how I ran across your question). It seems that the xmlparserv2.jar (v2.0.2.8 or 2.0.2.9) which is included was compiled with java 1.2 which is incompatible with Oracle 8.1.5 (which is what I have and probably what you have). You probably need xmlparser v2.0.2.7.
    Do a search on the error number, the post is from Steve back on June 8. I found the correct version of the xmlparserv2.jar in my copy of the xmlschema stuff (xmlschema_v0_9_0_0.zip). I don't know which version is in the current xmlschema
    (v1.0.0.0) but it is probably the new version.
    Steve will email you the correct version if you ask.
    Eric
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by nrajav ():
    I get the following error message while loading xmlparserv2.jar
    ORA-29534 referenced object SYSTEM.oracle/xml/parser/v2/XMLNOde could not be resolved
    ORA-29545: badly formed class: java.lang.NullPointerException
    using XSU111 package<HR></BLOCKQUOTE>
    null

  • Error Messages While Loading Acrobat 6 Pro

    I get 2 error messages while loading Acrobat 6 Pro.  They began to to appear after downloading, and then removing, trial versions of CS5.5 Suite and CS5.5 Flash.  The error messages are:
    1:- There was an error while loading the plugin SaveasXML.api. The file cannot be found.
    2:- bootstrap.js script error during eval()".
    Trying to uninstall Acrobat 6 Pro so it can be reinstalled fails.
    How can I fix these problems?

    Thank you Bill,
    Yeah, of course you are rigt: my AA is a dinosaur... But somehow - and to be quite honest, I don't know exactly how I managed - I CAN make PDF-files now. (?!) I changed some settings in my printing menu and, well... it worked again.
    Thanx anyway for your time and energy to help me. Appreciated!
    Grtz from the Netherlands,
    Ingrid

  • Unauthorized message while loading home page

    Hi, I am a beginner in Oracle.
    I had installed Oracle 10g express edition a month ago. I've been working with database and tables successfully and developing some applications using appex 2.1.
    One of the last operations i did was to run successfully this pl/sql instructions in sql command in graphical user interface:
    declare
    pw_v varchar2(100);
    begin
    pw_v := dbms_obfuscation_toolkit.md5( input_string => 'admin' );
    INSERT INTO M_USERS(LAST_NAME,USERNAME,PASSWORD,ADMINISTRATOR,IN_USE)
    values('admin','admin', pw_v ,'Y','Y');
    end;
    After that i've tried to view the table M_USERS when suddenly it prompts username and password in "Connect to 127.0.0.1" window (This window never prompted before). I tried my operating system and database passwords but it still gives "Unauthorized" message.
    I shut down Database server, restarted my Operating system and when i load the home page it still prompts username and password in "Connect to 127.0.0.1" window.
    I've read something like that in Re: Unauthorised message while loading home page and solution was to change the port number.
    I've changed port number typing this command in sql plus line: "exec dbms_xdb.sethttpport(8090)" but the problem still remains.
    I think to reinstall Oracle 10g express as last chance but i dont think it would be a professional solution.
    Please help me with this it's urgent.
    Thanks.....!!
    Roger

    Hi Ginny, i am new in Oracle Express....I have the same problem you had. I've changed port number and the problem still remains... i need the solution urgently...please help....

  • Error message while loading data from data mart

    Please can some one help on this.
    While loading data from one cube to another (I am actually creating a backup of original cube) for 1 record I am getting the error message " internal error occured with time split" The long text of error message says Message no. RSAU101

    Take a look at this thread:
    Internal error occured with time split
    Hope it helps,
    Gilad

  • Error message while loading iCloud on PC

    I am trying to download Icloud to my PC so I can send files to my iPad.  While downloading I get the following error "The instruction at 0x00000000 referenced memory at 0x000000.  The memory could not be written."  What do I need to do to make the memory write?
    Thanks

    What OS are you running? That kind of message is usually generated in XP (service pack 2) due to DEP issues. (DEP = Data Execution Prevention). You may need to disable this feature.
    Try:
    Start > Control Panel > System > Advance > Performance Settings > Data Execution Prevention
    Watch out though, I hear XP has various issues on iCloud. You may want to upgrade to a more recent OS.
    Windows 7 is much better (don't bother with Vista).
    In general, try Googling these kinds of error messages. You can normally get to the bottom of things quicker by searching on the Web, rather than faffing around with Mac's tech assistance, especially when it comes to PC-related problems. In my experience the kids at Apple's Express Lane know very little about anything, and Apple forum users with truly helpful info are few and far between.
    Hope you fix your problem without too much trouble!

  • Display a message while loading using EMBED tag

    Hi
    I am using an Embed tag to pull a pdf from the backend. the pdf files are huge so it takes time to load and I want a loading message to be displayed till the form is completely loaded, so i am using onload attribute of Embed tag, but i dont think its firing because i still see the "loading" message even after the page has loaded...
    Can any one help me plzzz...

    Hi,
    Try using the FM  
    Increase the percentage for each loop        
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
                  EXPORTING
                    PERCENTAGE = 50
                    TEXT       = text-025.

  • Message while loading applet

    I would like to display a message inside my HTML page "Please wait... applet is loading..." and when applet loads I would like to hide that HTML message and to show the applet. Is this possible? How should I do that?

    Depends what you mean by "when asked to load/run the applet" - do you mean whilst the applet is loading?
    In that case I'd make the Javascript event handler for the button set a boolean value, and in your Javascript function called by the applet on loading, check for it. So if the user's clicked cancel it won't change the CSS attributes to display it.

  • Short dump while loading data

    Hi All,
    I am getting this error message while loading data in BW. The eeror message is below:
    Data not received in PSA Table.
    Diagnosis
    Data has not been updated in PSA Table . The request is probably still running or there was a short dump.
    Procedure
    In the short dump overview in BW, look for the short dump that belongs to your data request. Make sure the correct date and time are specified in the selection screen.
    You can use the wizard to get to the short dump list, or follow the menu path "Environment -> Short dump -> In Data Warehouse".
    Removing errors
    Follow the instructions in the short dump.
    When I checked the short dump it is as below.
    ShrtText                                                                               
    An SQL error occurred when accessing a table.                                                                               
    What can you do?                                                                               
    Make a note of the actions and input which caused the error.                                                                               
    To resolve the problem, contact your SAP system administrator.                                                                               
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer termination messages, especially those beyond their normal deletion date.                                                                               
    How to correct the error                          
        Database error text........: "ORA-14400: inserted partition key does not map to any partition"         
        Internal call code.........: "[RSQL/INSR//BIC/B0000541000 ]"                                 
        Please check the entries in the system log (Transaction SM21).                                                                               
    You may able to find an interim solution to the problem in the SAP note system. If you have access to the note system yourself, use the following search criteria:                                                           
    How to correct the error                          
        Database error text........: "ORA-14400: inserted partition key does not map to any partition"       
        Internal call code.........: "[RSQL/INSR//BIC/B0000541000 ]"                                 
        Please check the entries in the system log (Transaction SM21).                               
        You may able to find an interim solution to the problem in the SAP note system. If you have access to the note system yourself, use the following search    
        "DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC                                                     
        "GP12DW003276UZE34XM7O2QXLER" or "GP12DW003276UZE34XM7O2QXLER"                               
        "INSERT_ODS"                                                                               
    Can someone suggest me what should I check?
    Thanks in advance.

    Thanks a lot Manga. I did what you told and it gave me this error message.
    Inconsistency: High value for table /BIC/B0000541000: 0002 ; PARTNO value in RSTSODS: 0022          
    So you mean to say once I click on correct error button, it should be good. So after that if do the loading, it should not give me this problem if I am right.
    But can you tell me what exactly does that error message mean? Also is this not an table space issue. I have to wait to correct that error as DBA is currently looking into it.
    Assigned points. Will assign more points if the issue resolves.

  • Records was deleted at R/3 sys - getting error while loading the data

    Hi All,
    we are extracting the data from 2LIS_12_VCITM, 2LIS_11_VASCL, 2LIS_11_V_ITM, 2LIS_13_VDITM and 2LIS_11_VAITM into Cube RSD_C03. But one record (Sales Order) was deleted at R/3 system so we getting the error message that Caller 09 contains an error message while loading the data from 2LIS_12_VCITM.
    we have replicate the DataSource and activate Trans rules but no use still getting the same error.
    when we execute the data source  2LIS_12_VCITM at RSA3 with update mode as D (Transfer of the deltas since the last request)getting error message that Errors occurred during the extraction
    and we are getting the zero records at RSA3 for the 2LIS_12_VCITM as update mode as F (Transfer of all requested data)
    And getting shot dump that TSV_TNEW_PAGE_ALLOC_FAILED at BW side.
    Could you kindly suggest me any one how to rectify this error.
    Thanks in Advance,
    Shaliny. M

    hai Lilly
    I activated myself source system  and replicate the my datasource .
    Then activate the update rules for ODS , InfoCube and InfoCube .
    Then i tried to load the data into InfoCube from ODs .
    Again im getting same problem .
    why it is like that
    pls tell me
    rizwan

  • ORA-22288:file or LOB operation FILEOPEN failed while loading XML file.

    Hello all,
    I am getting the following error messages while loading XML file to Oracle 9i table.
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYS.DBMS_LOB", line 504
    ORA-06512: at line 10
    The script I am using is all follows:-
    1. Created a file ldxmldata.sh on unix server directory
    dd conv=ucase if=$1|sed 's/<?XML/<?xml/'|sed 's/VERSION/version/'|sed 's
    /RECORD/ROW/'|sed 's/DATE/TRANSDATE/'|sed 's/&/-/'|sed 's/\/DATE>// TRANSDATE>/'>$1.UCASE
    sqlplus sales/sales@rac @upld.sql $1.UCASE
    2. Created SQL file upld.sql on unix server
    set serveroutput on
    exec DBMS_JAVA.SET_OUTPUT(1000000);
    @ldxml.sql bsl.xml.UCASE
    commit;
    exit
    3. Created sql file ldxml.sql on unix server
    declare
    insCtx DBMS_XMLSave.ctxType;
    rows number;
    file bfile := bfilename('XML_DIR','&1');
    charContent CLOB := ' ';
    targetFile bfile;
    warning number;
    begin
    targetFile := file;
    DBMS_LOB.fileopen(targetFile, DBMS_LOB.file_readonly);
    DBMS_LOB.loadfromFile(charContent,targetFile,DBMS_LOB.getLength(tar
    getFile),1,1);
    insCtx := DBMS_XMLSave.newContext('sales.s_price');
    rows := DBMS_XMLSave.insertXML(insCtx,charContent);
    DBMS_XMLSave.closeContext(insCtx);
    DBMS_LOB.fileclose(targetFile);
    end;
    4. As Sys,
    Created a directory XML_DIR and assigned it the path of Unix server directory
    where the script files reside.
    Granted read priviledge on XML_DIR to user sales.
    I am getting the above error messages. Kindly help with some possible solution.
    Arun Patodia
    Bokaro Steel City

    Hi guys,
    Sybrand, aplogoies, the second line of the error stack was on one line in the first post, full error stack below:
    ORA-22288: file or LOB operation FILEOPEN failed
    The program issued a command but the command length is incorrect.
    ORA-06512: at "SYS.DBMS_LOB", line 716
    ORA-06512: at "JLMS.LOAD_DATA_UTIL", line 417
    ORA-06512: at line 2I have looked at that error code as you mentioned, but the second line here doesn't really help much.
    Hoek, i took your advice and tried to replace FILEOPEN with OPEn but got the same error.
    Just to clarify as well, I am not using UNC or relative file paths as I know that these can cause problems.
    Rgds
    Dan

  • Error message while opening a project: "an error was encountered while loading the image"

    We've run into a new error message here today:
    an error was encountered while loading the image
    It appears when we try to load a recorded project. It occurs on both the cp-file and the backup file.
    It's on a windows 7-machine.
    Anyone encountered it and knows what it means?
    is the project lost forever?

    Hi there
    Hmmm, it may be related to Windows 7, but let's check the obvious stuff first.
    Where exactly is th project if you locate it using Windows Explorer? Is it found on your local C drive or is it found on a network drive?
    If it's on a network drive, please note that Captivate has never worked well with projects being edited while they are on network resources. So the first step in this case (assuming that's where the project is) would be to move the project file off the network and onto the local C drive. Then try opening again.
    Assuming the project isn't on a network, all still may not be lost. The next thing to try would be to create a new blank project sized identically to the one that seems to have gone south. Then click File > Import > Slides/Objects and see if you can import the content from the errant project into the new.
    And if those steps fail, it's likely time to restart from scratch. But depending on what you have done so far and how you have done it, you might be able to salvage some of it by playing back the content (assuming you have published it during testing) and record what you are playing back with Captivate.
    Best of luck to you in sorting things. You should also consider filing a Bug Report.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Using FF to access my AOL emails I get "There was an error while loading the message. Please try again later." Access is OK via Chrome, IE & AOL's own desktop.

    "There was an error while loading the message. Please try again later." is a recent (3/4 days) error message I get when accessing my AOL emails. I can access the page and move them between states but cannot open them to read. Chrome, IE and AOL's own desktop open emails OK & can access them from the wife's PC using my AOL details. Have cleaned the history tab of everything in FF, have also removed it with add/rem progs and reinstalled - still I get the above message.
    PC - W7 Pro 64 bit, 16GB RAM etc.

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.
    <!-- VERY important to include-->
    <b>WARNING:</b> Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be recovered unless they have been backed up to an external device!</u>

  • An error ocurred while loading this content! Ive using my ATV for more than 6 months and last week i update the sw and since then i have rented two movies and keep seeing the same message. I have reset the ATV two times without success. Any suggestions?

    I keep getting this message: AN ERROR OCURRED WHILE LOADING THIS CONTENT
    ATV was working fine until i did a version update last week. Since then i have rented two movies and keep getting the same message
    I restarted the ATV - no success
    I reset my wireless - no success
    I reset my ATV - no success
    netflix is working fine since i was able to see a movie there. Youtube was also working fine. I think there should be something wrong with iTunes
    Any ideas?

    I keep getting this message: AN ERROR OCURRED WHILE LOADING THIS CONTENT
    ATV was working fine until i did a version update last week. Since then i have rented two movies and keep getting the same message
    I restarted the ATV - no success
    I reset my wireless - no success
    I reset my ATV - no success
    netflix is working fine since i was able to see a movie there. Youtube was also working fine. I think there should be something wrong with iTunes
    Any ideas?

Maybe you are looking for