• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to busy indicator using jsp page

 
nazir ahmed
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
nazir ahmed
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


i want only jsp page not an action class.
is it possible
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic