aspose file tools*
The moose likes Struts and the fly likes Showing a Loading gif(Image) on Processing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Showing a Loading gif(Image) on Processing" Watch "Showing a Loading gif(Image) on Processing" New topic
Author

Showing a Loading gif(Image) on Processing

Arup Ranjan Sahoo
Greenhorn

Joined: May 15, 2008
Posts: 12
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 ]

Thanks
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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 ]

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Arup Ranjan Sahoo
Greenhorn

Joined: May 15, 2008
Posts: 12
Hi Sagar,

It works Great.

Thanks for your reply.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Showing a Loading gif(Image) on Processing