2014年1月10日
摘要: import java.util.regex.Matcher;import java.util.regex.Pattern;public class HTMLSpirit{public static String delHTMLTag(String htmlStr){ String regEx_script="]*?>[\\s\\S]*?"; //定义script的正则表达式 String regEx_style="]*?>[\\s\\S]*?"; //定义style的正则表达式 String regEx_html="]+>& 阅读全文
posted @ 2014-01-10 20:51 那些年我们一起奋斗的日子 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 在页面直接用 ${base} 就可以取到站点虚拟路径了。 阅读全文
posted @ 2014-01-10 11:04 那些年我们一起奋斗的日子 阅读(196) 评论(0) 推荐(0) 编辑