Youwanttocreateafilterforyourwebapplicationandyourfilterwillimplementjavax.servlet.Filter.Which twostatementsaretrue?()

题目内容(请给出正确答案)
Youwanttocreateafilterforyourwebapplicationandyourfilterwillimplementjavax.servlet.Filter.Which twostatementsaretrue?()

A.Yourfilterclassmustimplementaninitmethodandadestroymethod.

B.Yourfilterclassmustalsoimplementjavax.servlet.FilterChain.

C.Whenyourfilterchainstothenextfilter,itshouldpassthesameargumentsitreceivedinitsdoFiltermethod.

D.Themethodthatyourfilterinvokesontheobjectitreceivedthatimplementsjavax.servlet.FilterChaincaninvokeeitheranotherfilteroraservlet.

E.YourfilterclassmustimplementadoFiltermethodthattakes,amongotherthings,anHTTPServletRequestobjectandanHTTPServletResponseobject.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。