![](https://iknow-base.cdn.bcebos.com/lxb/notice.png)
就是一个用户登录的界面 我只想问<form method="POST" action="2login.jsp?action=login"> 是什么意思 15
<bodytopmargin="100px"><formmethod="POST"action="2login.jsp?action=login"><tablewidth...
<body topmargin="100px">
<form method="POST" action="2login.jsp?action=login">
<table width="901" height="450" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="901" height="80" align="center" valign="top" background="../img/imgs/houtai.jpg"><table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="172"> </td>
</tr>
</table>
<table width="696" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="417" height="66" rowspan="2"> </td>
<td width="279" height="31"><input name="admin_name" type="text" id="admin_name" size="26"></td>
</tr>
<tr>
<td height="32"><input name="admin_pass" type="password" id="admin_pass" size="26"></td>
</tr>
</table>
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="38"> </td>
</tr>
</table>
<table width="699" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="568" height="37"> </td>
<td width="131"><input type="submit" name="B1" id="B1" value="登录">
<input type="submit" name="B2" id="B2" value="重写"></td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html>
尤其是问号是什么意思 高分在线等 展开
<form method="POST" action="2login.jsp?action=login">
<table width="901" height="450" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="901" height="80" align="center" valign="top" background="../img/imgs/houtai.jpg"><table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="172"> </td>
</tr>
</table>
<table width="696" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="417" height="66" rowspan="2"> </td>
<td width="279" height="31"><input name="admin_name" type="text" id="admin_name" size="26"></td>
</tr>
<tr>
<td height="32"><input name="admin_pass" type="password" id="admin_pass" size="26"></td>
</tr>
</table>
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="38"> </td>
</tr>
</table>
<table width="699" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="568" height="37"> </td>
<td width="131"><input type="submit" name="B1" id="B1" value="登录">
<input type="submit" name="B2" id="B2" value="重写"></td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html>
尤其是问号是什么意思 高分在线等 展开
1个回答
展开全部
method 表单提交方式 有post、get
action 提交到的页面或servlet等出来提交的地方
问号后面表示提交到login.jsp的参数 action 值是 login
request.getParams..("action")
你的jsp文件名能叫 2login.jsp ?奇葩了!!
action 提交到的页面或servlet等出来提交的地方
问号后面表示提交到login.jsp的参数 action 值是 login
request.getParams..("action")
你的jsp文件名能叫 2login.jsp ?奇葩了!!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询