在你的浏览器->工具-.internet选项->高级,将显示友好http提示前的选项去掉,看看!

解决方案 »

  1.   

    只用URL的用法不是很正规,应该再加上一个URLConnection 如以下:
    URL u=new URL(remoteaddr.getText());
        URLConnection uc=u.openConnection();
        uc.setDoOutput(true);
        PrintWriter pw=new PrintWriter(new BufferedOutputStream(uc.getOutputStream()));
        pw.print(tempencodestr); 
        pw.flush();
        pw.close(); 
        InputStream in=uc.getInputStream();

         后面的代码和你一样了
      

  2.   

    成功了,十分感谢 zgysc(翠湖寒) 和 zhutouzip(Speak out!-shyboy) ,马上给分,结贴!