The title may not be clear enough, but actually my case is quite simple.
There is a jar that gets a certain task done. Now there is servlet that calls the jar and a user can access the servlet and request the task to be done. I want to push all system.out.prints in the jar, which shows processing progress information, to the HTML page returned. Any solution? Thanks!