i am doing a program that allow user to run and execute java language in this commandline.jsp, a servlet execute.java , jsp called getconsoleoutput.jsp to direct it to commandline.jsp
however there a compilation errors cos i could only get a line of string, and when i run loop in commandline.jsp it will not have the output. i could only run helloworld in it.
therefore i need code that i can run multiple line in it. i suspect its the print stream error in execute.java