文章列表
package com.huawei.cloud.util.commonUtil;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import ja ...
/**
*
*/
package com.huawei.cloud.util.encondFilter;
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;
/* ...
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<!--输出方式:输出到控制台-->
<appender name="CONSOLE&quo ...
public class WebServerListener implements ServletContextListener{
private ServletContext context = null;
public void contextInitialized(ServletContextEvent event)
{
System.out.println("Server started!");
context = event.getServletContext(); ...