java - How to make a servlet output several messages progressively -


i'm using jsp , servlets write web application. goal of app provide simple form in jsp page, used feed parameters execute java program (in servlet). output of program should appear @ bottom of same jsp page. lot of sites explain how to this, main issue java program takes several minutes run, , prints out lot of messages before completing. if append messages servlet's httpservletresponse, wait several minutes before showing messages @ once. there way progressively print out messages on original jsp page if java console?

you can make using ajax.

in ajax call servlet,then take necessary informations servlet , print in ajax success part.

this may you.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -