我爱Aspx >> Asp.Net >> 为什么过滤器不能被调用?不知是哪骤错了,我是在struts中用的google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_color_url = "000000";
放在WEB-INF\classes\manage\hibernateUtil\CloseSessionFilter.class
public class CloseSessionFilter implements Filter {
Log logger = LogFactory.getLog(this.getClass());
// Filte配置对象
protected FilterConfig config;
public void destroy() {
// TODO Auto-generated method stub
this.config = null;
}
public void doFilter(ServletRequest arg0, ServletResponse arg1,
FilterChain arg2) throws IOException, ServletException {
// TODO Auto-generated method stub
System.out.println("filter1");
arg2.doFilter((HttpServletRequest) arg0,(HttpServletResponse) arg1);
System.out.println("filter2");
}
public void init(FilterConfig arg0) throws ServletException {
// TODO Auto-generated method stub
Ҷƪл˵?
java.lang.NullPointerException..[07-06]
VB.NET遇到一个发送邮件难题[07-06]
开启log4j后,serlvet的debug也输..[07-06]
求助网站升级问题![07-06]
关于环境变量设置classpath[07-06]
怎么把数组里的数据加到sql数据库..[07-06]
用vb.net如何读取指定的元素的值[07-06]
请问在hibernate中集合映射与不采..[07-06]
简单问题?[07-06]
一对多,插入的时候报错Could not..[07-06]