当然可以了.写个全路径 然后在后面写参数 比如说id 用&id=你的id.那个jsp 用 request.getParamter("id") 就可以得到传来的数值了

解决方案 »

  1.   

    <form name="form1" method=" post" >
       
        <input type="text" name="name" value="123"/>
        <input type="button" name="sumbit" value="submit"  onclick="openwindow()";>
        </form>
      <script >
     
      
      function openwindow(){
    window.location.href=" http://192.168.1.38:8080/test/get.jsp?name=12313131";
      
      }
      
      
      </script>
    发送页面这样写对吗