From b13e9d602919eb785990c28e5532d7c6e551be8a Mon Sep 17 00:00:00 2001 From: Adhitya Kamakshidasan Date: Mon, 18 Jul 2016 23:26:59 +0530 Subject: Meh. --- WEB-INF/classes/SciExec.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'WEB-INF') diff --git a/WEB-INF/classes/SciExec.java b/WEB-INF/classes/SciExec.java index 5f83cb8..ed14e9f 100755 --- a/WEB-INF/classes/SciExec.java +++ b/WEB-INF/classes/SciExec.java @@ -1,7 +1,7 @@ /** * Servlet code for xcos-on-web * Authors: Maverick and Adhitya - * Description: Thefollowing servlet creates a shell command to run Scilab + * Description: The following servlet creates a shell command to run Scilab * without any GUI/simulation window. The diagram sent from client * is stored in a usr-xxx.xcos file and is then simulated. * The result is a .png file which is then sent back to the client. @@ -43,8 +43,7 @@ public class SciExec extends GenericServlet { /** * Maverick: * Ignore the following block. - */ - /** + * * commands.add("plot3d();xs2png(gcf(),'img2.png');exit();"); String * data=request.getParameter("name"); pw.println(data); * commands.add("echo "+data+" > -- cgit