/    Sign up×
Community /Pin to ProfileBookmark

display sequence of execution at front end

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

to post a comment
Java

1 Comments(s)

Copy linkTweet thisAlerts:
@BigDogSep 27.2005 — I think you would want to use flush(). So I would try setting autoflush to false, then every time you need write to the stream, call flush() to send to the client.
×

Success!

Help @itsmaheshp spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...