多项选择题
Which two are characteristics of the Intercepting Filter pattern?()
A. it provides centralized request handling for incoming requests.
B. It forces resource authentication to be distributed across web components.
C. It reduces coupling between presentation-tier clients and underlying business services.
D. It can be added and removed unobtrusively, without requiring changes to existing code.
E. It allows preprocessing and postprocessing on the incoming requests and outgoing responses.
相关考题
-
单项选择题
AdeveloperwantstoouseELtoinvokeafunctionusingS{my:bloof(“foof”)}.Whichisalwaystrue?()
A. The method invoked by this function must be statie.
B. The function class must implement the Function interface.
C. The expression is NOT a valid EL expression for invoking a function.
D. The function must be declared in a web.xml file using theelement.
E. The function class must have a method with the signature:Void bloof (java.lang.Strings) -
多项选择题
WhichtwoHTTPmethodsareusedtoprocessfromdatainaservlet?()
A. do GET
B. do Put
C. do Post
D. do Trace
E. do Submit
F. do Process -
多项选择题
ForanHttpServletResponseresponse,whichtwocreateacustomheader()
A. response.set Header (“X-MyHeader”. “34”):
B. response.addHeader (“X-MyHeader”. “34”):
C. response. Set Header (new Http Header (“X-MyHeader”. “34”)):
D. response.addHeader(new Http Header (“X-MyHeader”. “34”)):
E. response. addHeader (new Servlet Header (“X-MyHeader”. “34”)):
F. response. setHeader (new Servlet Header (“X-MyHeader”, “34”)):
