dcsimg

I am trying to use Log4j with jsps. I am using the log taglib from jakarta along with Log4j.

Stephen McConnell

You have to catch the exceptions and then call Log4j in the catch block.... Wrap the code where the possible exception might occur and then write the appropriate log code in the catch block. We've used it in JSP's, Servelts and EJB's.

If you are using Log4j correctly, then you should have no problem.

Stephen McConnell