Sumit,
You
may want to design a class with all static methods which will do logging to
log4j. It could have a method such as....
public
static void doInfoLog(String catName, String message)
{
Category cat =
Category.getInstance(catName);
//log the message to this category
}
You
could use this class and method in your JSP.
Thanks,
seemantini
|
- Log4J in JSP?? Sumit Mishra
- RE: Log4J in JSP?? Seemantini Godbole
- RE: Log4J in JSP?? Cakalic, James P.
- RE: Log4J in JSP?? Bharat Reddy
- RE: Log4J in JSP?? Seemantini Godbole
- RE: Log4J in JSP?? Bharat Reddy
- FW: Log4J in JSP?? Sumit Mishra
- Re: FW: Log4J in JSP?? Frans Thamura