使用Socket类,直接发送就可以了

解决方案 »

  1.   

    Get 和Post是http的协议中的请求,请求这个资源的时候不就自动Get了..
      

  2.   

    建议使用applet和servlet的隧道通讯,可以实现get、post请求!
      

  3.   

    this.getAppletContext().showDocument("javascript:top.location.href='url.jsp?name=value';");
    这样可以模拟产生get请求
    如果是post可以先在页面定义一个html的form表单,name=form1,method=post,然后
    this.getAppletContext().showDocument("javascript:document.form1.submit();");