S
Sean Aitken
Hi folks!
I was thinking of implementing a Java class that contained a method that
accepts an optional type of text stream parameter for providing real
time results of processing during the method call. *whew*
Basically, I want to have a function that can be called from a web page
that spits out results in real time (from within the function). I'd
also like the function to spit out results to a console, if thats the case.
I was thinking about having some sort of TextStrem object as parameter
(or some other common derivative of HttpResponse.out and System.out),
which can then be written to during the function call.. maybe even
calling flush() on the Http object.
Anyone with experience doing this? Right now for long processes I am
implementing a JSP page to produce results. I'd like to wrap up some of
this stuff into my beeeens.
Many Thanks!
-Sean
I was thinking of implementing a Java class that contained a method that
accepts an optional type of text stream parameter for providing real
time results of processing during the method call. *whew*
Basically, I want to have a function that can be called from a web page
that spits out results in real time (from within the function). I'd
also like the function to spit out results to a console, if thats the case.
I was thinking about having some sort of TextStrem object as parameter
(or some other common derivative of HttpResponse.out and System.out),
which can then be written to during the function call.. maybe even
calling flush() on the Http object.
Anyone with experience doing this? Right now for long processes I am
implementing a JSP page to produce results. I'd like to wrap up some of
this stuff into my beeeens.
Many Thanks!
-Sean