我在html页面中有以下表格
<form name="input" action="sayHello1.jsp?param1=test1" method="get">
Username: <input type="text" name="user">
<input type="submit" value="Submit">
</form>
我在文本框中输入值“test”并提交。
我希望在浏览器中看到提交的 URL
http://localhost:8080/helloWorld/sayHello1.jsp?param1=test1&user=test
但我认为网址为
http://localhost:8080/helloWorld/sayHello1.jsp?user=test
为什么这样 ?