1. Where to declare log4j in servlets and filters? stackoverflow.comI am confusing when I try log the process using log4j, I don't know where to put the logger. Now I've put the logger in the servlet and declared it as public ... |
2. servlet-filters precedence stackoverflow.comSince since filters are chained one after another, I cannot know when to remove MDC/NDC (log4j) information. Which is the topmost servlet filter? I have one defined inside deploy/jboss-portal-ha.sar/portal-server.war/WEB-INF/Web.xml and several others spread around ... |
3. Order of calling destroy() method on servlets/filters stackoverflow.comI have a Java web app.
I can specify the order of calling
But, how can I specify the order of calling destroy() methods?
Actually, ... |