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?()
第1题:
Which of the following locations would hold a user’s documents and data in Windows XP?()
第2题:
Which three statistics does the Executive report summarize?() (Choose three.)
第3题:
You would like to configure your PC's IP address of 10.10.0.156 as an FTP host with a username of user and a password of mypass.Which configuration command accomplishes this goal?()
第4题:
以下EL表达式的语法结构中正确的是()。
第5题:
bill has an author names field named all editors that calculates a list of possible editors of the doc based on values users has entered into another field. The list only contains users’ first and last names, and only should be displayed to users who can edit doc.Which of the following hide-when formulas should bill use to control the display of the field?()
第6题:
A web application uses the HttpSession mechanism to determine if a user is "logged in." When a usersupplies a valid user name and password, an HttpSession is created for that user. The user has access tothe application for only 15 minutes after logging in. The code must determine how long the user has beenlogged in, and if this time is greater than 15 minutes, must destroy the HttpSession. Which method in HttpSession is used to accomplish this?()
第7题:
You create a Web site that is for members only. The Web site allows members to create lists of users that have access to information about member profiles. The name of the list is stored in the listName variable. The user name of the user to whom access is given is stored in the username variable. You need to enable members to manage their lists of users. Which code segment should you use? ()
第8题:
${userName}
${cookie.userName}
${cookie.user.name}
${cookies.userName[0]}
第9题:
C:/Program Files/Users/%username&
C:/Documents and Settings/%username%
C:/Users/%username%
C:/Users/Documents and Settings/%username%
第10题:
Roles.CreateRole(listName);User.InInRole(listName);
Roles.CreateRole(listName);Roles.AddUserToRole(useName, listName);
Roles.RoleExists(listName);Roles.AddUserToRole(useName, listName);
Roles.RoleExists(listName);User.InInRole(listName);
第11题:
${user. username}等价于${user. [username]}
${user. username}等价于${user. [“username”]}
如果user是一个List, 则${user[0]}的写法是正确的
如果user是一个数组, 则${user[0]}的写法是正确的
第12题:
Roles.CreateRole(listName)User.IsInRole(listName)
Roles.CreateRole(listName)Roles.AddUserToRole(userName, listName)
Roles.RoleExists(listName)Roles.AddUserToRole(userName, listName)
Roles.RoleExists(listName)User.IsInRole(listName)
第13题:
Given an HttpServlet Request request and Http Servlet Response response, which sets a cookie “username” with the value “joe” in a servlet.?()
第14题:
A web application uses the HttpSession mechanism to determine if a user is “logged in”. When a user supplies a valid user name and password, an HttpSession is created for that user. The user has access to the application for only 15 minutes after logging in. The code must determine how long the user has been logged in, and if this time is greater than 15 minutes, must destroy the HttpSession. Which method in HttpSession is used to accomplish this?()
第15题:
关于点操作符和“[ ]”,以下说法不正确的是()。
第16题:
In which of the following default locations would a user’s home folder reside in Windows XP?()
第17题:
Given an HttpServletRequest request and HttpServletResponse response,which sets a cookie "username"with the value "joe" in a servlet?()
第18题:
Consider the Mysql Enterprise Audit plugin. Which statement is true when you identify a connection event that has used external authentication?()
第19题:
You create a Web site that is for members only. The Web site allows members to create lists of users that have access to information about member profiles. The name of the list is stored in the listName variable. The user name of the user to whom access is given is stored in the username variable. You need to enable members to manage their lists of users. Which code segment should you use? ()
第20题:
request.addCookie(username, joe)
request.setCookie(username, joe)
response.addCookie(username, joe)
request.addHeader(new Cookie(username, joe))
request.addCookie(new Cookie(username, joe))
response.addCookie(new Cookie(username, joe))
第21题:
$[user. userName]
#[user. userName]
${user. username}
#{user. username}
第22题:
@isnotmember(alleditors,@username)
@isnotmember(@name([cn]);@username)
@isnotmember(alleditors;@name([cn ];@username))
if(@isnotmember(alleditors;@name([cn];@username);@true;@false))
第23题:
C:/Program Files/%username%
C:/Users/%username%
C:/Documents and Settings/%username%
C:/Windows/%username%