I think Beth Zhang wrote:
> 
> Thanks for the help and I can get the error message from the browser. Now the problem
> is that I can't get the .clp result to the browser by writing
> 
> " toClient.println(nd.stdout());"
> or
> " toClient.println(nd.stderr());"
> 
> It prints out "java.io.PrintStream", but not the content I wanted
> Shall I re-route the PrintStream in NullDisplay?
> 

You should write a class which implements ReteDisplay and returns a
PrintStream wrapped around the "toClient" object from the stderr() and
stdout() methods. THen construct your Rete object with an instance of
this class.

> Beth Zhang
> 


---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (510) 294-2154
Sandia National Labs                FAX:   (510) 294-2234
Org. 8920, MS 9214                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to