Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please Wait.....Loading Bar

 
John C Clark
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a servlet that after data is submitted it has to connect to an SAP system and perform a calculation. This takes some time. After the submit button is pushed, I would like to go to a new page and have an animated bar type image indicating the user to wait for a response. Then when the calculation is finished it goes to the results page.

How can I do this?
 
Alex Sharkoff
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John,

Please refer to this link http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Response-Headers.html

Pay attention to paragraph 3 (Example: Automatically Reloading Pages as Content Changes)


Hope it helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic