• Post Reply Bookmark Topic Watch Topic
  • New Topic

Standard Out to View Live Logging  RSS feed

 
Dustin Ward
Greenhorn
Posts: 26
1
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So let me explain the subject line. I am (shudder) using Java EXT to create some panels and such on the front end. When I click on some button that does calculations, I would like to have either a popup or a new window open (this one is not necessarily relegated to EXT) and show my process on the back end (java7) in a 'live' fashion. It really doesn't need to be truly live. It can show every two seconds or some such. I would like the output to be things I log in the controller/ service that I call so I can see the process on the front end.

The way I am currently considering doing it is to create a "job" (really a task) that reads a file that I write to every n seconds and then just replaces the whole output in the new page.

My question is: is there an easier way to do this, like by changing standard out to an output stream? Can I even accomplish this without a job running every n seconds?

Please let me know if there is any additional information needed. THANKS!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!