Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have a TextArea through which user will write his code and when he press submit button then text should get compiled and result should be displayed.
Can anyone provide any API's available which I can use.?

More Details:
I have a form consisting of TextArea where user can write code and submit.
On submit I want to compile this code through jsp page and return output message of compiler.


One more thing I do not Have file of submitted code, I have only string.
string code = request.getparameter("textareaCode");

SO is there any way to compile this code for any one languages ex. C, C++ or JAVA.

Is there any API's available which i can use to work it?

How to give system call through jsp pages so that I can compile the submitted code?
Posted
Updated 20-Apr-15 9:37am
v4

1 solution

 
Share this answer
 
Comments
Member 11615897 19-Apr-15 1:43am    
This does not solve my problem I want add same functionality in My own site.
Here we have to use Code Ground's site.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900