${requestURI}
${request.URI}
${request.getURI}
${request.requestURI}
${requestScope.requestURI}
${pageContext.request.requestURI}
第1题:
JSP表达式语言可用于在网页上生成动态内容并代替JSP脚本元素,JSP表达式语言的语法是()。
第2题:
Servlet A forwarded a request to servlet B using the forward method of RequestDispatcher. What attributein B’s request object contains the URI of the original request received by servlet A?()
第3题:
Given a web application in which the cookie userName is expected to contain the name of the user. Which EL expression evaluates to that user name?()
第4题:
Given an HttpServletRequest request, which retrieves an object of type Account with an Id of “account”?()
第5题:
Given an HttpServletRequest request and HttpServletResponse response,which sets a cookie "username"with the value "joe" in a servlet?()
第6题:
Which EL expression evaluates to the request URI?()
第7题:
Account account = request.get Resource(”account”):
Account account = request.get Attribute (“account”):
Account account = request.get Parameter (account”):
Account account = (Account)request.getResource (“account”):
Account account = (Account) request.get Attribute (“account”):
Account account = (Account) request.get Paramter (“account”):
第8题:
${userName}
${cookie.userName}
${cookie.user.name}
${cookies.userName[0]}
第9题:
REQUEST_URI
javax.servlet.forward.request_uri
javax.servlet.forward.REQUEST_URI
javax.servlet.request_dispatcher.request_uri
javax.servlet.request_dispatcher.REQUEST_URI
第10题:
request.getCookies()
request.getAttributes()
request.getSession ().getCookies()
request.getSession (). GetAttributes()
第11题:
${requestURI}
${request.URI}
${request.getURI}
${request.requestURI}
${requestScope.requestURI}
${pageContext.request.requestURI}
第12题:
request.add Cookie (“username”. “joe”)
request.set Cookie (“username, “joe”)
response.add Cookie (username”, “joe”))
request.add Header (new Cookie (“username”, “joe”))
request.add Cookie (new Cookie (“username”, “joe”))
response.add Cookie (new Cookie (“username”, “joe”))
response.add Header (new Cookie (“username”, “joe”))
第13题:
Given: 11.<% 12.request.setAttribute("vals", new String[]{"1","2","3","4"}); 13.request.setAttribute("index", "2"); 14.%> 15.<%-- insert code here --%> Which three EL expressions, inserted at line 15,are valid and evaluate to "3"?()
第14题:
If the policies shown below evaluate as described, which action will occur for the listed policy expression?() Policy A=True Policy B=True Policy C=True Policy D=False Policy Expression: !(A&&B)||C
第15题:
JAVA EE中,JSP表达式语言的语法是()。
第16题:
Given a web application in which the request parameter product ID contains a product identifier.Which two EL expressions evaluate the value of the product ID?()
第17题:
A developer wants too use EL to invoke a function using S{my:bloof(“foof”)}. Which is always true?()
第18题:
Which four statements correctly describe functions that are available in SQL? ()
第19题:
The method invoked by this function must be statie.
The function class must implement the Function interface.
The expression is NOT a valid EL expression for invoking a function.
The function must be declared in a web.xml file using the
The function class must have a method with the signature:Void bloof (java.lang.Strings)
第20题:
{EL expression}
${EL expression}
@{EL expression}
&{EL expression}
第21题:
${product ID}
${param.productID}
${params.productID}
${params.productID[1]}
${paramvalues.productID}
${paramValues.productID[0]}
${pageContext.request.productID}
第22题:
The policy evaluates to True (a&&n).
The policy evaluates to True because of c.
The policy evaluates to False because of c.
The policy evaluates to False because of !(a&&b).
第23题:
request.get Writer ():
request.get Reader ():
request.get Input Stream():
request.get Resource As Stream():
request.get Resource As Stream (Servlet Request. REQUEST):
第24题:
{EL expression}
${EL expression}
&{EL expression}