• 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

How to busy indicator using jsp page

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
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

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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,


i want only jsp page not an action class.
is it possible
 
Sagar Rohankar
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
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".
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
reply
    Bookmark Topic Watch Topic
  • New Topic