cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/scratchpad/schecoon/src/org/apache/cocoon/scheme/servlet REPLEvalServlet.java
Date Mon, 17 Dec 2001 07:00:00 GMT
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


Mime
View raw message