• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sorry, another Runtime.getRuntime question in jsp/tomcat  RSS feed

 
Mr.David Shapiro
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My code works fine, but I do not want to wait until the command has completed to start showing stdout/stderr to the screen. How do I get line by line the inputstream as it happens? Second, should I and how would I use Threads for this to make this better?

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!