• 大小: 5.98M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-06-23
  • 语言: Java
  • 标签: demo  java  javamain  

资源简介


资源截图

代码片段和文件信息

package com.filter;

import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

public class EncodingFilter implements Filter {


public void destroy() {
// TODO Auto-generated method stub

}


public void doFilter(ServletRequest request ServletResponse response
FilterChain chain) throws IOException ServletException {
// TODO Auto-generated method stub
try {
request.setCharacterEncoding(“utf-8“);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

chain.doFilter(request response);
System.out.println(“EncodingFilte

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        758  2009-03-14 02:47  javamail2-TXT\.classpath

     文件        308  2009-03-14 03:14  javamail2-TXT\.mymetadata

     文件       1231  2009-03-14 03:14  javamail2-TXT\.project

     文件       3261  2009-03-14 02:37  javamail2-TXT\WebRoot\css\style.css

     文件      82988  2009-03-14 02:37  javamail2-TXT\WebRoot\images\bg.jpg

     文件      15385  2009-03-14 02:37  javamail2-TXT\WebRoot\images\button_bg_b.jpg

     文件       6763  2009-03-14 02:37  javamail2-TXT\WebRoot\images\index_01.gif

     文件        246  2009-03-14 02:37  javamail2-TXT\WebRoot\images\index_02.gif

     文件      63126  2009-03-14 02:37  javamail2-TXT\WebRoot\images\index_04.gif

     文件       6981  2009-03-14 02:37  javamail2-TXT\WebRoot\images\index_bbs.gif

     文件       7001  2009-03-14 02:37  javamail2-TXT\WebRoot\images\index_friendlink.gif

     文件       7541  2009-03-14 02:37  javamail2-TXT\WebRoot\images\index_mend_dlS.gif

     文件       7583  2009-03-14 02:37  javamail2-TXT\WebRoot\images\index_tools_dlS.gif

     文件     139705  2009-03-14 02:37  javamail2-TXT\WebRoot\images\main.jpg

     文件      86287  2009-03-14 02:37  javamail2-TXT\WebRoot\images\复件 bg.jpg

     文件       6629  2009-03-14 02:55  javamail2-TXT\WebRoot\index.jsp

     文件        533  2009-03-14 02:37  javamail2-TXT\WebRoot\js\onclock.JS

     文件         39  2009-03-14 02:35  javamail2-TXT\WebRoot\meta-INF\MANIFEST.MF

     文件       1959  2009-03-14 02:37  javamail2-TXT\WebRoot\mydeal.jsp

     文件       2877  2009-03-16 16:18  javamail2-TXT\WebRoot\sendmail.jsp

     文件      55147  2009-03-14 02:47  javamail2-TXT\WebRoot\WEB-INF\lib\activation.jar

     文件      87617  2009-03-14 02:47  javamail2-TXT\WebRoot\WEB-INF\lib\commons-email-1.1-javadoc.jar

     文件      36291  2009-03-14 02:47  javamail2-TXT\WebRoot\WEB-INF\lib\commons-email-1.1-sources.jar

     文件      30651  2009-03-14 02:47  javamail2-TXT\WebRoot\WEB-INF\lib\commons-email-1.1.jar

     文件     434812  2009-03-14 02:47  javamail2-TXT\WebRoot\WEB-INF\lib\mail.jar

     文件        381  2009-03-14 02:35  javamail2-TXT\WebRoot\WEB-INF\web.xml

     文件        758  2009-03-14 02:59  javamail3-HTML\.classpath

     文件        310  2009-03-14 03:13  javamail3-HTML\.mymetadata

     文件       1232  2009-03-14 03:13  javamail3-HTML\.project

     文件       1723  2009-03-14 02:57  javamail3-HTML\WebRoot\Css\style.css

............此处省略213个文件信息

评论

共有 条评论