<% pageContext.setAttribute("a","page"); request.setAttribute("a", "request"); session.setAttribute("a","session"); application.setAttribute("a","application"); %> ${a}显示结果为:_________________。
A: page
B: request
C: session
D: application
A: page
B: request
C: session
D: application
举一反三
- <% pageContext.setAttribute("a","page"); request.setAttribute("a", "request"); session.setAttribute("a","session"); application.setAttribute("a","application"); %> ${a}显示结果为:_________________。 A: page B: request C: session D: application
- <% pageContext.setAttribute("a","page"); request.setAttribute("a", "request"); session.setAttribute("a","session"); application.setAttribute("a","application"); %> ${a}显示结果为:_________________。
- 某JSP中有如下代码:request.setAttribute("a","request");session.setAttribute("a","session");application.setAttribute("a","application");%>有:${a}则显示结果为:_________________。 A: page B: request C: session D: application
- 使用EL表达式${username}时,username查找顺序为( )。 A: equest、session、application、page B: application、session、request、page C: page 、 request、session、application D: equest、session、page 、application
- 在JSP页面中,保存数据的范围由大到小依次是( ) A: session,application,request,page B: equest,session,application,page C: application,session,request,page D: page,session,request,application