Hi guys;
I'm trying to build the following web functionality :
using
java servlets backed by a
tomcat server container I want to build a java web application that given a peice of java code example it should in some way invoke the java compiler and compile the peice of java code reporting any compilation errors..and if compilation is successufull it should display the output of this java code.
Is there a way to invoke the javac compiler from within a servlet ?
can I get the output stream from invoking both the javac and java to interpret the code ?
should i use any library for dynamically interpreting java code?
what are your Ideas for solving this problem ?
thanks for your help indeed.