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
Post a Comment