All URLs returned by the server are rewritten.
An HttpSession object is created if necessary.
The user name and password of the user are checked.
The session ID is stored in the HTTP response as a cookie.
第1题:
Given an HttpServletRequest request: 22.String id = request.getParameter("jsessionid"); 23.// insert code here 24.String name = (String) session.getAttribute("name"); Which three can be placed at line 23 to retrieve anexisting HttpSession object?()
第2题:
Upon a user’s first visit to the website, which two operations are always performed when the getSession method is called with no arguments in a servlet?()
第3题:
Which of the following statements about variables and scope are true?()
第4题:
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?()
第5题:
You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which two statements are true?()
第6题:
Which statement is true?()
第7题:
the server vendor’s FAQ website
the SCSI controller vendor’s user manual
the drive enclosure vendor’s user manual
the network operating system vendor’s website
第8题:
The value returned needs to be cast to an int.
The getAttribute methos takes two arguments.
Primitive CANNOT be stored in the HttpSession.
The HttpSession attribute name must NOT exceed eight characters.
第9题:
The init method on a filter is called the first time a servlet mapped to that filter is invoked.
A filter defined for a servlet must always forward control to the next resource in the filter chain.
Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file.
If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it.
第10题:
javax.servlet.http.HttpServletRequest
javax.servlet.http.HttpSessionContext
javax.servlet.http.HttpsServletResponse
javax.servlet.http.HttpSessionBindingEvent
javax.servlet.http.HttpSessionAttributeEvent
第11题:
All URLs returned by the server are rewritten.
An HttpSession object is created if necessary.
The user name and password of the user are checked.
The session ID is stored in the HTTP response as a cookie.
第12题:
WebLogic server starts automatically upon the restarting of the machine
each new cluster will automatically be created with two managed servers
boot.properties file automatically stored
creation of an auto deploy folder used for the application to deploy automatically
Node Manager will be automatically configured
第13题:
Which is the true choice about the web container request processing model()?
第14题:
Two new servers are purchased and need to be installed to allow sharing of a single external hard drive enclosure. One server is configured as a local file server, and the other as a database server for a different network. The onsite technician notices that when both servers are running at the same time, they each receive SCSI errors. When they are running individually, no errors are reported. Which of the following is the BEST source of information to use for troubleshooting this problem?()
第15题:
Which two classes or interfaces provide a getSession method?()
第16题:
Given that session is a valid HttpSession object: Int max = session.getAttribute(“MyReallyLongName”); Which is true?()
第17题:
Which is true about the web container request processing model?()
第18题:
Which two outcomes result when a domain is created in development mode?()
第19题:
Your filter class must implement an init method and a destroy method.
Your filter class must also implement javax.servlet.FilterChain.
When your filter chains to the next filter, it should pass the same arguments it received in its doFiltermethod.
The method that your filter invokes on the object it received that implements javax.servlet.FilterChaincan invoke either another filter or a servlet.
Your filter class must implement a doFilter method that takes, among other things, anHTTPServletRequest object and an HTTPServletResponse object.
第20题:
A finalizer may NOT be invoked explicitly.
The finalize method declared in class Object takes no action.
super.finalize()is called implicitly by any over riding finalize method.
The finalize method for a given objec twill be called no more than once by the garbage collector.
The order in which finalize will be called on two objects is based on the order in which the two objects became finalizable.
第21题:
A class’s finalize() method CANNOT be invoked explicitly.
super.finalize() is called implicitly by any overriding finalize() method.
The finalize() method for a given object is called no more than once by the garbage collector.
The order in which finalize() is called on two objects is based on the order in which the two objects became finalizable.
第22题:
The servlet’s init method returns a non-zero status.
The servlet’s init method throws a Servlet Exception
The servlet’s init method sets the Servlet Response’s context length to 0
The servlet’s init method sets the Servlet Response’s content type to null.
The servlet’s init method does NOT return within a time period defined by the servlet container.
第23题:
DataSource
Virtual Hosts
Server Group
The selected JDBC Driver
Remote Servlet Redirector
第24题:
Local variables defined inside a method are destroyed when the method is exited.
Local variables are also called automatic variables.
Variables defined outside a method are created when the object is constructed.
A method parameter variable continues to exist for as long as the object is needed in which the method is defined.