• Post Reply Bookmark Topic Watch Topic
  • New Topic

Display batch file execution in jsp  RSS feed

 
kunal kabi
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had executed a batch file from java bean using ProcessBuilder, which i had done and also able to display the results in console. I want to display the execution of batch file in jsp page rather then console in sync. Upon clicking on certain button, it should display the result in jsp, the way it displays in console line by line.

Please suggest some ideas, if you have. Thank you in advance.


I am using following code::


It should display in sync with the console.
 
Campbell Ritchie
Marshal
Posts: 55761
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I added code tags to your post. Always use the tags: doesn't it look better.
Not sure I know how to display that batch file; I am not sure I know what should display where.

Only ever post each question once.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!