问题:单选题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?()AABBCCDDEE
Sunday, April 7, 2024
问题:单选题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 application needs to minimize the inter-tier network traffic related to servicing client requests. Which design patterns, working together, address these issues?()AFront Controller and Transfer ObjectBFront Controller and Service LocatorCBusiness Delegate and Transfer ObjectDBusiness delegate and Intercepting FilterEModel-View-Controller and Intercepting Filter
Saturday, June 10, 2023
问题:单选题Which is the valid identifier?()AfalseBdefaultC_objectDa-class
Sunday, December 3, 2023
问题:单选题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 translated into a file 1/0 operation, which results in very poor performance. Which J2EE pattern can help with this performance issue?()ATransfer ObjectBService LocatorCIntercepting FilterDModel-View-Controller
Monday, April 22, 2024
问题:单选题} What is the result?()ACompilation succeeds and 1 is printed.BCompilation succeeds and 2 is printed.CAn error at line 8 causes compilation to fail.DAn error at line 14 causes compilation to fail.
Monday, April 8, 2024
问题:单选题Which the HTTP method represents a request for information about the supported methods on an HTTP server?()AGETBINFOCHEADDTRACEEOPTIONS
Wednesday, October 4, 2023
问题:多选题For a given Servlet Response response, which two retrieve an object for writing text data? ()Aresponse.get Writer ()Bresponse.get Output Stream ()Cresponse.get Output Writer ()Dresponse.get Writer ().get Output Stream()Eresponse.get Writer (Writer.OUTPUT_TEXT)
Thursday, September 7, 2023
问题:单选题Which makes the local EJB component accessible to the web components in the web application deployment descriptor?()AABBCCDD
Wednesday, February 21, 2024
问题:多选题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 clients and underlying business services.DIt can be added and removed unobtrusively, without requiring changes to existing code.EIt allows preprocessing and postprocessing on the incoming requests and outgoing responses.
问题:单选题What is the result?()Afoo has the value””Bfoo has the value null.CAn exception is thrown.DThe code will not compile.
Monday, January 2, 2023
问题:单选题Which command line invocation will produce the output?()Ajava Test 2222Bjava Test 1234Cjava Test 4242Djava Test 4321
Friday, July 28, 2023
问题:单选题Which interface must a class implement to be informed of a session creation event?()Ajavax.servlet.http.HttpSessionListenerBjavax.servlet.http.HttpSessionBindingListenerCjavax.servlet.http.HttpSessionCreationListenerDjavax.servlet.http.HttpSessionActivationListener
Wednesday, March 8, 2023
问题:单选题Which HTTP method has the characteristic that multiple indential requests may produce side effect beyond those of a single request()?APUTBGETCINFODPOSTEHEADFTRACE
Thursday, February 29, 2024
问题:单选题Which HttpSession method stores an object in a session?()Aput(String name. Object value)Bset(String name. Object value)CsetAttribute(String name. Object value)DputAttribute(String name. Object value)EaddAttribute(String name. Object value)
问题:单选题Which thefollowingstatements about static inner classes is true?()AAn anonymous class can be declared as static.BA static inner class cannot be a static member of the outer class.CA static inner class does not require an instance of the enclosing class.DInstance member of a static inner class can be referenced using the class name of the staticinner class.
Saturday, January 20, 2024
问题:多选题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 attribute value is changed
Tuesday, September 5, 2023
问题:多选题Which two security mechanisms protect the response stream?()AauthorizationBdata integrityCconfidentialityDauthentication
问题:多选题Which the two are reserved words in Java?()ArunBimportCdefaultDimplement
问题:单选题A developer is designing a multi-tier web application and discovers a need to log each incoming client request. Which two patterns, taken independently, provide a solution for this problem? ()ATransfer ObjectBService LocatorCFront ControllerDIntercepting FilterEBusiness DelegateFModel-View-Controller