public class ExFilterServlet implements Filter {
public void init(FilterConfig conf) throws ServletException {}
public void doFilter(ServletRequest req,
ServletResponse res, FilterChain chain)
throws ServletException, IOException {
-----------------------------
-----------------------------
// 連続するフィルタがある場合は、次のフィルタを呼び出します。
// 連続するフィルタがない場合は、元々要求されていたプログラム
// を呼び出します。
chain.doFilter(req, res);
}
public void destroy() {}
}
|