%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ page import="java.io.*" %>
<%!
int runCommand(String command[], Writer result, boolean html, boolean canonize) {
int retVal = -1;
try {
java.lang.Process p = Runtime.getRuntime().exec(command);
InputStream is = p.getInputStream();
InputStreamReader isr = new InputStreamReader(is, "iso8859-1");
BufferedReader input = new BufferedReader(isr);
String line;
while ((line = input.readLine()) != null) {
if (canonize) {
line = org.crosswire.utils.HTTPUtils.canonize(line);
}
result.write(line + ((!html) ? "\n ":"
"));
}
retVal = p.waitFor();
}
catch (Exception e) {e.printStackTrace();}
return retVal;
}
%>
<%
String bgreek = request.getParameter("bgreek");
String util = "/home/community/webapp/projects/ntmss/greek2symbol/Greek2Greek";
%>