• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Showing a Loading gif(Image) on Processing

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

In my application, I am calling an action class.It is doing the process & after that, it will refresh one of my frame.

I want that, while the action class is doing the processing, in that frame, it will show a loding gif(Image) to tell the user that some process is going on.

How can I do that?
[ May 22, 2008: Message edited by: Andrew Robert Pinsky ]
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Andrew ,
I had too the same problem some time ago. What i did is I called a JSP page which actually shows a 'loading...' gif image or text, and forward to 'Your-Action-Class', until action gets completed user sees the 'Loading..; page, and once the action is completed, you can map it to result jsp page .

This link helps :

1) https://coderanch.com/t/281524/JSP/java/please-wait-message-while-jsp

2)
https://coderanch.com/t/49645/Struts/Struts-progress-bar

3)
https://coderanch.com/t/113660/HTML-JavaScript/Processing-Display

Hope this Help !
[ May 22, 2008: Message edited by: Sagar Rohankar ]
 
Arup Ranjan Sahoo
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sagar,

It works Great.

Thanks for your reply.
 
reply
    Bookmark Topic Watch Topic
  • New Topic