当前分类: SCDCD(310-081)
问题:单选题Which option prevents the exception thrown by my:errorProne from invoking the error page mechanism and outputs the message "File not found" in the response?()A AB BC CD DE E...
查看答案
问题:多选题Which two are characteristics of the Intercepting Filter pattern?()Ait provides centralized request handling for incoming requests.BIt forces resource authentication to be distributed across web components.CIt reduces coupling between presentation-tier...
问题:单选题Which thefollowingstatements about static inner classes is true?()A An anonymous class can be declared as static.B A static inner class cannot be a static member of the outer class.C A static inner class does not require an instance of the enclosing...
问题:单选题Which makes the local EJB component accessible to the web components in the web application deployment descriptor?()A AB BC CD D...
问题:单选题} What is the result?()A Compilation succeeds and 1 is printed.B Compilation succeeds and 2 is printed.C An error at line 8 causes compilation to fail.D An error at line 14 causes compilation to fail....
问题:单选题Which the HTTP method represents a request for information about the supported methods on an HTTP server?()A GETB INFOC HEADD TRACEE OPTIONS...
问题:单选题A JSP page needs to perform some operations before servicing the first request. Where can this be done?()A within a method called jspInitB within the page directive of the JSP pageC within a scriptlet at the top of the JSP pageD within the XML ele...
问题:单选题When adding a element to a web application deployment descriptor, the inclusion of which sub-element requires the definition of an error page()?A realm-name B auth-metod C auth-constraint D form-login-config E user-data-constaint...
问题:单选题Which defines the welcome files in a web application deployment descriptor?()A AB BC CD DE E...
问题:单选题A Company.com developer is designing a multi-tier web application and discovers a need to hide the details of establishing and maintaining remote communications from the client. In addition, because the business and resource tiers are distributed, the ...
问题:单选题Which is the valid identifier?()A falseB defaultC _objectD a-class...
问题:单选题Which is characteristic of the Business Delegate pattern?()A It decreases complexity by removing a layer of proxy classes.B It reduces coupling between tiers by hiding implementation details.C It decreases performance due to the lack of caching of r...
问题:单选题Company.com has decided to use the FUBAR Application Server to host their web application. Unfortunately, the FUBAR Application Server uses the server machine’s file system for its JNDI namespace. Every JNDI lookup performed in the web application is t...
问题:单选题When using Form Based Authentication, which pair of fields must be used in the login form?()A j_user and j_idB j_id and j_passwordC j_users and j_passwordD j_user and j_passwordE j_login and j_passwordF j_username and j_password...
问题:单选题What is the result()?A The program runs and prints “ I = 1 , j = 0”B The program runs and prints “ I = 1 , j = 4”C The program runs and prints “ I = 3 , j = 4”D The program runs and prints “ I = 3 , j = 0”E An error at line 4 cause compilatio...
问题:单选题Which interface must a class implement to be informed of a session creation event?()A javax.servlet.http.HttpSessionListenerB javax.servlet.http.HttpSessionBindingListenerC javax.servlet.http.HttpSessionCreationListenerD javax.servlet.http.HttpSess...
问题:多选题For which three events can web application event listeners be registered? ()Awhen a session is createdBafter a servlet is destroyedCwhen a session has timed outDwhen a cookie has been createdEwhen a servlet has forwarded a requestFwhen a session attrib...
问题:单选题Which HTTP method has the characteristic that multiple indential requests may produce side effect beyond those of a single request()?A PUTB GETC INFOD POSTE HEADF TRACE...
问题:多选题A Company.com developer has created a web application that includes a servlet for each use case in the application. These servlets have become rather difficult to maintain because the request processing methods have become very large. There is also com...