This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I need to develop a webapplication (Online Java Compiler) ,which gets .java file as input and compiles it and then run it.The output as well as error messages(which normally we got in the console) should be dispalyed in the browser.
It compiles the java file and produces the class file.The problem is,in case of any errors(compilation or runtime),i didn't get any error meassages in the browser.Also,i am not sure how to display the output to the browser.
Please help me to display the error messages as well as the output to the browser window.