Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Showing a Loading gif(Image) on Processing

 
Arup Ranjan Sahoo
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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 ]
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • 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) http://www.coderanch.com/t/281524/JSP/java/please-wait-message-while-jsp

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

3)
http://www.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
  • Quote
  • Report post to moderator
Hi Sagar,

It works Great.

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