<div style="width:0;height:0;overflow:hidden">
<form method="post">
...
</form>
</div>
再由就是用xmlhttp

解决方案 »

  1.   

    可以通过form提交或把参数以键值对的形式缀在url后面的方式传递。在form里,只有input,textarea类型对象的数据可以被提交到后台程序。可以把数组的数据放到多个同名的input里提交到后台。前台
    <form>
    <input type=hidden name=para value=1>
    <input type=hidden name=para value=1>
    <input type=hidden name=para value=1>
    <input type=hidden name=para value=1>
    </form>后台
    String[] StrAPara=request.getParameterValues("para");
      

  2.   

    <form action="../文件名?参数1=值1&参数2=值2......" method=post(或者get)name=form1>
      

  3.   

    请问在javascript中又如何得到
    <form>
    <input type=hidden name=para value=1>
    <input type=hidden name=para value=1>
    <input type=hidden name=para value=1>
    <input type=hidden name=para value=1>
    </form>
    所定义的植呢?