用设个方法就行了,JWebBrowser.setCookie(String url, String value);Map m = new HashMap();
m.put("Referer", referer);
m.put("Accept", "text/html, application/xhtml+xml, */*");
m.put("Accept-Language", "en-GB");
m.put("User-Agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)");
m.put("Accept-Encoding", "gzip, deflate");
m.put("Host", "######################");
m.put("Connection", "Keep-Alive");
m.put("Cookie", cookieString);
WebBrowserNavigationParameters p = new WebBrowserNavigationParameters();
p.setHeaders(m);
不需要这些
2013年11月16日 00:44