是来自连接字符串的IE用户代理
import org.apache.log4j.Logger; import java.io.BufferedOutputStream;/**来 自 时 代 J a v a 公 众 号 - nowjava.com**/ import java.io.FileInputStream; import java.io.IOException; import java.net.URLEncoder; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class Main{ public static void main(String[] argv) throws Exception{ String userAgent = "nowjava.com"; System.out.println(isIE(userAgent)); } /** * Logger for this class */ private static final Logger logger = Logger .getLogger(DownloadHelper.class); public static boolean isIE(String userAgent) { if (logger.isDebugEnabled()) { logger.debug("isIE(String) - start"); //$NON-NLS-1$ } /** from * 时代Java - nowjava.com **/ boolean returnboolean = userAgent.toLowerCase().indexOf(