File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to busy indicator using jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to busy indicator using jsp page" Watch "How to busy indicator using jsp page" New topic
Author

How to busy indicator using jsp page

nazir ahmed
Greenhorn

Joined: Aug 02, 2008
Posts: 16
Hi,

i am using struts1.2.

i am create a jsp page,i click the submit button it goes to struts.config.xml file and transfer into action class(servlet) and return into same jsp page.


My doubt is when i click the submit button ,busy indicator display in jsp page, also control transfer into action class(servlet)


how is possible.send reply
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

nazir ahmed wrote:
My doubt is when i click the submit button ,busy indicator display in jsp page, also control transfer into action class(servlet)

Why do you want to show busy indicator, like "Please wait, Page is Loading...." ? Is it called action taking too much of time to return a JSP page ?


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
nazir ahmed
Greenhorn

Joined: Aug 02, 2008
Posts: 16
Hi,


i want only jsp page not an action class.
is it possible
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

I already ask you question about what is "Busy Indicator" ? Is it a button labeled "Busy" or "Loading..." display ? Still If you want to show something like above, then I suggest use javscript to call submit action and before "submitting" pause javascript for some time and then "submit".
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60780
    
  65

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to busy indicator using jsp page
 
Similar Threads
Servlet Mapping
object doesn't support this property or method
How to possible in busy indigator in jsp page
Hi Experts, Big problem
how to call a jsp page from another jsp in struts?