文章列表
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
< ...
package cn.gurong.gurongproduction.util;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class BaseHtmlParser {
// 判断网址是否有效
public static boolean isExit(String urlstr) {
URL url;
try {
url = new URL ...