Hi all, 

Using Struts, I'm looking for a good practice to have a "Please wait
box" displayed to the user when the action he has requested takes a
long time.

My requirements are not to display another page to keep the browsing
"smooth". I use a JSP tree which can be expanded/collapsed, but the
page must stay the same between the calls. So I'd like a small box
added in front of the actual window.

What I could do is to use a javascript to show or hide a small box in
a corner of the window for instance. The problem is that i want this
box to be displayed immediately when the ActionClass is called, and
hided only when the result page is fully displayed. This is very easy
when it is the displaying of the page which is slow (when the logic is
inside JSP), but doesn't seem so easy with struts, where it's the
action that can take time.

Can anyone help me with this ? 

-- 
Marc Demlenne
GPG : 768FA483 (http://pgp.mit.edu)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to