You are creating a web form with this HTML:
11.<form action="sendOrder.jsp">
12.<input type="text" name="creditCard">
13.<input type="text" name="expirationDate">
14.<input type="submit">
15.</form>
Which HTTP method is used when sending this request from the browser?()
A.GET
B.PUT
C.POST
D.SEND
E.FORM
您可能感興趣的試卷
你可能感興趣的試題
A.It encapsulates component lookup procedures.
B.It increases source code duplication and decreases reuse.
C.It improves client performance by caching context and factory objects.
D.It degrades network performance due to increased access to distributed lookup services.
A developer has created a special servlet that is responsible for generating XML content that is sent to adata warehousing subsystem. This subsystem uses HTTP to request these large data files, which are compressed by the servlet to save internal network bandwidth. The developer has received a request frommanagement to create several more of these data warehousing servlets. The developer is about to copyand paste the compression code into each new servlet.
Which design pattern can consolidate thiscompression code to be used by all of the data warehousing servlets?()
A.Facade
B.View Helper
C.Transfer Object
D.Intercepting Filter
E.Composite Facade
A.It reduces network traffic by collapsing multiple remote requests into one.
B.It increases the complexity of the remote interface by removing coarse-grained methods.
C.It increases the complexity of the design due to remote synchronization and version control issues.
D.It increases network performance introducing multiple fine-grained remote requests which return verysmall amounts of data.
The Squeaky Bean company has decided to port their web application to a new J2EE 1.4 container. Whilereviewing the application, a developer realizes that in multiple places within the current application, nearlyduplicate code exists that finds enterprise beans.
Which pattern should be used to eliminate this duplicatecode?()
A.Transfer Object
B.Front Controller
C.Service Locator
D.Intercepting Filter
E.Business Delegate
F.Model-View-Controller
A developer is designing a web application that must verify for each request: The originating request is froma trusted network.
The client has a valid session.The client has been authenticated.
Which design pattern provides a solution in this situation?()
A.Transfer Object
B.Session Facade
C.Intercepting Filter
D.Template Method
E.Model-View-Controller
最新試題
Click the 'Select and Place' button.Place the events in the order they occur.
A web browser need NOT always perform a complete request for a particular page that it suspects mightNOT have changed. The HTTP specification provides a mechanism for the browser to retrieve only a partialresponse from the web server; this response includes information, such as the Last-Modified date but NOTthe body of the page.Which HTTP method will the browser use to retrieve such a partial response?()
You are building a dating web site. The client’s date of birth is collected along with lots of other information.The Person class has a derived method, getAge():int, which returns the person’s age calculated from thedate of birth and today’s date. In one of your JSPs you need to print a special message to clients within theage group of 25 through 35.Which two EL code snippets will return true for this condition? ()
Click the ’Select and Place’ button.Place the events in the order they occur.
Click the 'Select and Place' button.Place the events in the order they occur.
Which three are true about servlet filters?()
Click the ’Select and Place’ button.Place the events in the order they occur.
You need to create a JSP that generates some JavaScript code to populate an array of strings used on the client-side.Which JSP code snippet will create this array?()
Click the ’Select and Place’ button.Place the events in the order they occur.
You are building your own layout mechanism by including dynamic content for the page’s header and footersections. The footer is always static, but the header generates the <title> tag that requires the page name tobe specified dynamically when the header is imported.Which JSP code snippet performs the import of theheader content?()