<form action="login.do"><div align="center"> 
用户名:<input type="text" name="username" >
<br></div><div align="center">密&nbsp; 码:<input type="password" name="password" > <br><div align="center"><input type="submit" value="register" name="method" >
<input type="submit" value="login" name="method"> </div></div></form> </body>为什么我这样提交表单,在url地址栏哪里没有显示我的密码和账号的参数信息,但是把那个提交表单的按钮改成这样<input type=image value="login" name="method" src="images/login_09.gif" name="Image1" width="46" height="35" border="0" id="Image1" onMouseOver="MM_swapImage('Image1','','images/login_09_1.gif',1)" onMouseOut="MM_swapImgRestore()" onclick="this.form.submit()">
就会这样显示http://localhost/LoginTest/login.do?username=helo&password=hi&method.x=20&method.y=13
但是我需要的是http://localhost/LoginTest/login.do?method=login而密码和账号自动添加都struts的form的表单但是现在为什么变了,怎样改才可以改回原来那种,但是有图片的效果