同學們,有誰為什么value中必須寫成param.score,不能替換成別的對象。變量
<form action="firstDemo.jsp" method="post" >
?? ??? ?<input type="text" name="score" value="${param.score}"/>
?? ??? ?<input type="submit" />
?? ?</form>
<form action="firstDemo.jsp" method="post" >
?? ??? ?<input type="text" name="score" value="${param.score}"/>
?? ??? ?<input type="submit" />
?? ?</form>
2019-09-07
舉報
2019-09-07
${param.name}是得到將表單或者url的參數(shù)傳遞過來的值。是固定寫法
因為name屬性的值為score,所以為${param.score}
2022-03-30
2019-09-07
? 這是第幾個視頻?