📄 debugservletcontextlistener.java
字号:
/* * Copyright (c) 2004 Manning Publications. All Rights Reserved. */package org.hibernate.auction.web.lifecycle;import com.opensymphony.xwork.util.LocalizedTextUtil;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import javax.servlet.ServletContextEvent;import javax.servlet.ServletContextListener;/** * DebugServletContextListener sets debug settings at startup * * @author Jason Carreira <jcarreira@eplus.com> */public class DebugServletContextListener implements ServletContextListener { private static final Log LOG = LogFactory.getLog(DebugServletContextListener.class); public void contextInitialized(ServletContextEvent event) { LocalizedTextUtil.setReloadBundles(true); } public void contextDestroyed(ServletContextEvent event) { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -