ovidiu 01/12/16 23:00:00
Modified: scratchpad/schecoon/src/org/apache/cocoon/scheme/servlet
REPLEvalServlet.java
Log:
Use the new management of interpreters.
Revision Changes Path
1.3 +4 -2
xml-cocoon2/scratchpad/schecoon/src/org/apache/cocoon/scheme/servlet/REPLEvalServlet.java
Index: REPLEvalServlet.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/scratchpad/schecoon/src/org/apache/cocoon/scheme/servlet/REPLEvalServlet.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- REPLEvalServlet.java 2001/12/12 17:34:00 1.2
+++ REPLEvalServlet.java 2001/12/17 07:00:00 1.3
@@ -68,8 +68,10 @@
}
System.out.println("executing '" + sbuf + "'");
-
- out.println(eval(sbuf.toString(), request, response));
+
+ Interpreter interp = getInterpreter();
+ out.println(interp.eval(sbuf.toString()));
+ releaseInterpreter(interp);
}
catch (Exception ex) {
out.println("ERROR: " + ex);
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]