下面 关于HttpURLConnection 有2个问题
 1 如果s.ss.com 进行安全限制了,例如 要你导入证书 等安全限制
 2 如果没有证书的话,为什么 下面输入内容是 登入 界面的内容,我想输出 登入后的内容怎么做??url = new   URL("http://s.ss.com");
java.net.HttpURLConnection  con = (HttpURLConnection)url.openConnection();
con.setRequestMethod("POST");
String login="j_username=wangz&j_password=111111";
OutputStream   outputstream   =con.getOutputStream();
outputstream.write(login.getBytes("UTF-8"));
outputstream.flush();
 con.connect();
           System.out.println(con.getURL().toString());
           BufferedReader in = null;
           int responseCode = con.getResponseCode();
             if (responseCode == HttpURLConnection.HTTP_OK) {
              in  = new BufferedReader( new InputStreamReader(con.getInputStream(),"UTF-8"));
             } else {
              in  = new BufferedReader( new InputStreamReader(con.getErrorStream(),"UTF-8"));
             } 
StringBuffer destStr = new StringBuffer();
           String inputLin="";
           while ((inputLin = in.readLine()) != null)
             {
                destStr.append(inputLin);
                destStr.append("\r\n");
             }