requestScope表名一個http請求的整個生命週期,它只是一個定義而已,不是一個對象。服務器
${requestScope.info}就等價於request.getAttribute("info");post
request.getAttribute() 這個方法能夠取出指定名稱的這個屬性的值。.net
request.getParameter() 這個方法能夠得到客戶端提交到服務器的參數。對象
document.getElementById("username").focus(); //得到焦點 blog
document.getElementById("username").select(); //選中文本框接口
Model
在MVC(模型Model-視圖View-控制器Controller)模式中,Model表明模型,是業務流程/狀態的處理以及業務規則的制定,接受視圖請求的數據,並返回最終的處理結果。生命週期