转载自:http://blog.csdn.net/zhejingyuan/article/details/11801027方法利用方法:Element.select(String selector)和Elements.select(String selector)。File input = new File("/tmp/input.html");Document doc = Jsoup.parse(input, "UTF-8", "http://example.com/");Elements links = doc.select(&q Read More
posted @ 2014-03-04 18:50 奋斗中的毛毛虫 Views(4578) Comments(0) Diggs(0) Edit
response.setContentType("application/vnd.ms-excel");response.setHeader("content-disposition", "attachment; filename="+ new String(("xx_" + order.getId() + "_" + order.getOrderbbNumber() + ".xls").getBytes("GBK"), "ISO8859_1&q Read More
posted @ 2014-03-04 15:16 奋斗中的毛毛虫 Views(321) Comments(0) Diggs(0) Edit