Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

WAIT Page and Struts Framework

Thread view: 
leonidk@gmail.com - 08 Dec 2005 17:00 GMT
Hello All,

I trying to display WAIT Page inside Struts framework.

WAIT Page might refresh each few seconds. After Time Consuming Request
(long-running request) is completed, Struts Action class will forward
browser to the new page based on ActionMapping settings in
struts-config.xml file.

Do you know any good approach to solve it?

Thanks
Tim B - 09 Dec 2005 04:32 GMT
> Hello All,
>
[quoted text clipped - 8 lines]
>
> Thanks

a simple client-side approach would be to invoke a javascript function when
the form is submitted that unhides a wait message, or to take the idea
further, hides/unhides whole sections of html to make it look like you've
loaded a totally new page. The  response, when it occurs  will load your
final page.

if you want a wait page that displays a percentage done message or graphic,
there is much more work involved. I can provide details of a way to do it if
you want.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.