diff options
author | Adhitya Kamakshidasan | 2016-07-18 23:26:59 +0530 |
---|---|---|
committer | Adhitya Kamakshidasan | 2016-07-18 23:26:59 +0530 |
commit | b13e9d602919eb785990c28e5532d7c6e551be8a (patch) | |
tree | 86d0078aa8378e967e3ba47b6115bde8657d4449 | |
parent | b9bbc3da6df02d535b548f74f22dc6fd98081913 (diff) | |
download | xcos-on-web-b13e9d602919eb785990c28e5532d7c6e551be8a.tar.gz xcos-on-web-b13e9d602919eb785990c28e5532d7c6e551be8a.tar.bz2 xcos-on-web-b13e9d602919eb785990c28e5532d7c6e551be8a.zip |
Meh.
-rwxr-xr-x | WEB-INF/classes/SciExec.java | 5 |
1 files changed, 2 insertions, 3 deletions
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+" > |