developerinlondon
Programmer
Does anyone know how I can set the threadgroup of a thread after its created? I know it can be set using the constructor at initialization time. But problem is I changed the constructor's signature so I cant use the constructor.
also how can I get information about threads eg ThreadGroup.list() or Thread.dumpStack(), these methods only give output to stdout, but from within a servlet I need it to return a string so that I can put it in a log file to view.
thanks
also how can I get information about threads eg ThreadGroup.list() or Thread.dumpStack(), these methods only give output to stdout, but from within a servlet I need it to return a string so that I can put it in a log file to view.
thanks