3 Replies Latest reply on Dec 25, 2009 2:37 AM by Daniel Yang

    How to redirect System.out.println to a text area use Richfaces or JSF ?

    Charles Yang Newbie

      I try to redirect all my System.out.println() to a JSF page in a text area  (but not to h:outputText, since it only has one line, maybe to inputTextarea, not sure). The purpose is let user see the application logs in real time, just like a terminal,  doing "tail -f logfile". Anyone know how to do that ? (Either using Richfaces or JSF component). I did some search, but seems no good answer. Thanks in advance.