?
Solved

In web application how to show gif(eg., loading pls wait.....) while doing some process-calculation in the application server

Posted on 2003-03-12
3
Medium Priority
?
146 Views
Last Modified: 2011-09-20
I have a web application runs in websphere. It has a massive calculation engine. So when i call that calculation from the front-end(jsp) it takes sevral seconds to complete the calculation. At this point i want to show some message with a gif(a clock ticking). So when i submit the page for calculation i call a jsp with the message and gif. And onload of the page i am calling the calculation. At the end of the calculation i call some other jsp. Now the problem is, gif loaded in the intermediate jsp is not animating(clock is not ticking). I have seen in some web pages when you do a search they display some gif-animation until they are ready with the results. How to do this?
0
Comment
Question by:karnan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
JNSTAUB earned 280 total points
ID: 8153202
assuming your animationiss in frame "haut2"
in your main frame, in client script yu intercep the action which generate the calculation and add this script before to navigate to the calculation form:

set wdoc=parent.frames("haut2").document
for each element in wdoc.all
if element.tagname="IMG"  then
element.style.visibility="visible"
end if
window.navigate dest(where you perform the calculation)
next

in the window onload event of your main frame, activated when you send the calculation results, you add the same script with :visibility="hidden"
in my case i use IIS and ASP,the image is a gif animated and it' s working fine.The animation is done on client side and the calculation on the server.you need frames to do it.

regards
0
 

Expert Comment

by:CleanupPing
ID: 9447180
karnan:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question