什么意思?
把applet的信息传回到服务器端型了吧?

解决方案 »

  1.   

    一共有两个文件a.jsp和b.jsp,  a.jsp中有个applet,我想把applet中的xml传到b.jsp中去,b.jsp有一个ocx控件是作打印用的,这个ocx控件的入口参数是用vbscript进行赋值,现在我无法把applet中的xml传给b.jsp中的vbscript中,也就无法给ocx控件的入口参数赋值
      

  2.   

    in the applet on a.jsp, try to POST the xml data back  to the server and save it in a session variable, then load b.jsp up
      

  3.   

    to  karma:
    how to POST the xml dat back to the server in the applet?
    thank u!
      

  4.   

    something like
    URL servlet = new URL("YourJSP.jsp");
    HttpURLConnection servletConnection = (HttpURLConnection)
      servlet.openConnection();
    servletConnection.setRequestMethod("POST");
    ..............
      

  5.   

    用netscape.jsobject.* 
    调用javascript就可以了。
      

  6.   

    to karma:
     xml如何赋值呢,YourJSP.jsp如何接受这个xml呢?
      

  7.   

    <form action=b.jsp onsubmit=addXML()>
    <input type=hidden name=xml value="">
    </form>
    ....
    <script>
    document.form[0].xml.value=document.applets[0].getXmlString(); //调用Applet的方法。
    </script>
      

  8.   

    把xml变成一个string,然后post过去?!!!给分了50
     
    还有其他的办法码?