看我table和form的嵌套哪裡錯了?
下面的程序點按鈕“提交”為什麼沒有反應?跳轉不到getTable.jsp?
<table>
<form action= "getTable.jsp ">
<tr>
<td> 輸入url: </td> <td> <input type= "text " name= "url "> </td>
</tr>
<tr>
<td> 輸入user: </td> <td> <input type= "text " name= "user "> </td>
<tr>
<td> 輸入pwd: </td> <td> <input type= "password " name= "pwd "> </td>
</tr>
<tr>
<td> <input type= "button " value= "提交 "> </td>
</tr>
</form>
</table>
------解决方案--------------------如果要直接提交应该是type= "submit "
如果用type= "button "那么要加上onclick= "xxx() "用js来提交
------解决方案--------------------唐僧说得对
------解决方案--------------------顶