自己设置目录,也就是在项目启动时通过System.setProperty来设置,实现ServletContextListener来解决:publicclasslog4jlistenerimplementsServletContextListener{publicstaticfinalStringlog4jdirkey="log4jdir";publicvoidcontextDestroyed(ServletContextEventservletconte..
                            
                            
                                分类:
其他好文   时间:
2014-07-08 08:56:04   
                                阅读次数:
229