If code, such as below the example, were put in a servlet or JSP page it would end up in the Glassfish log.
import java.util.logging.Logger;
...
Logger mylog = Logger.getLogger(this.getClass().getName());
mylog.warning("A message");
No comments:
Post a Comment