You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ov...@apache.org on 2001/12/17 08:00:00 UTC
cvs commit: xml-cocoon2/scratchpad/schecoon/src/org/apache/cocoon/scheme/servlet REPLEvalServlet.java
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: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org