直接给web服务器传输一个链节不就可以了,比如给web服务器传输一个(使用socket):
http://www.test.com/user.asp?username=test?password=password

解决方案 »

  1.   

    在applet里
    this.getAppletContext().showDocument("javascript:document.form1.submit();")
    在包含这个applet的网页里
    <form name=form1 action="">
    <input type=text name=t value=hello>
    <input type=submit>
    </form>
      

  2.   

    在Applet中能不能调用javascirpt的函数进行提交哪?
      

  3.   

    可以,在applet里:
    this.getAppletContext().showDocument("javascript:myFunction();")
    在包含这个applet的网页里
    <script language="javascript">
    function myFunction() {
    document.form1.submit();
    }
    </script>
    <form name=form1 action="">
    <input type=text name=t value=hello>
    <input type=submit>
    </form>