某JSP中有如下代码: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
举一反三
- 某JSP中有如下代码: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}显示结果为:_________________。 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中有如下代码: A: page B: session C: application D: request
- 在JSP页面中,保存数据的范围由大到小依次是( ) A: session,application,request,page B: equest,session,application,page C: application,session,request,page D: page,session,request,application