This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Display messesge wait during background processing  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I want to display messsge as "Please Wait........" tilll my java code finishes some processing.

page1.jsp - my form where I have text boxes and submit button.
When click on submit button I am doing form submit and calling page2.jsp
In page2 I am doing,In page2.jsp I am requesting parametrs from page1.jsp and passing to my java method which returns me userid.
userid = myclass.mymethod();
if(userid!=null){
out.println("Record is in process.Please wait");
}
response.sendredirect("page3.jsp?"+userid=userId);

in page3.jsp i m doing processing on userid which I got in page2.jsp simultaneously.
someid =request.getparameter(userid);
process(someid );

But that "Wait " messge is displayed after all processing is finished. I want to display it as soon as I got userId. And continue in background processing on that userId.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!