Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

display sequence of execution at front end  RSS feed

 
Mahesh Pinnamaneni
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
In my JSP, i want to display messages to the user while it is processing at backend.
here it is...
I am having a JSP where i have to connect to SAP and fetch the data.since this will take around 2-5 min after the user submits the form, i want to display the user in the mean while like ..
Establishing connection with SAP, Processing the request, downloading the data etc instead of blank page.
can anyone pls let me know how can i achieve this.
thanks & regards,
Mahesh
 
Heonkoo Lee
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

One way to display the wait message is to use an auto-refreshing page and a session-scoped flag variable to determine whether or not to display the wait page.

In your jsp processing the request,


In waitpage.jsp,



The waitpage.jsp will display your message until your main jsp finishes processing the business logic.

Hope this helps.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!