Whichpath,relativetoawebapplication’sroot,identifiesthewebapplication’sdeploymentdescriptor?() A./conf/web.xmlB./WEB-INF/web.xmlC./conf/server.xmlD./META-INF/web.xmlE./WEB-INF/rules.xmlF./META-INF/server.Xml

Whichpath,relativetoawebapplication’sroot,identifiesthewebapplication’sdeploymentdescriptor?()

A./conf/web.xml

B./WEB-INF/web.xml

C./conf/server.xml

D./META-INF/web.xml

E./WEB-INF/rules.xml

F./META-INF/server.Xml


相关考题:

Inwhichthreedirectories,relativetoawebapplication’sroot,mayataglibrarydescriptorfileresidewhendeployeddirectlyintoawebapplication?() A./WEB-INFB./META-INFC./WEB-INF/tldsD./META-INF/tldsE.WEB-INF/resourcesF./META-INF/resources

Given:11.publicclassMyServletextendsHttpServlet{12.publicvoidservice(HttpServletRequestrequest,13.HttpServletResponseresponse)14.throwsServletException,IOException{15.//insertcodehere16.}17.}andthiselementinthewebapplication’sdeploymentdescriptor:error-pageerror-code302/error-codelocation/html/error.html/location/error-pageWhich,insertedatline15,causesthecontainertoredirectcontroltotheerror.htmlresource?()A.response.setError(302);B.response.sendError(302);C.response.setStatus(302);D.response.sendRedirect(302);E.response.sendErrorRedirect(302);

编写一个C++风格面向过程的程序,建立一个被称为sroot()的函数,返回其参数的平方根。重载函数sroot()3次,让它返回整数、长整数与双精度数的二次方根(计算平方根时,可以使用标准库函数sprt(),在代码文件头需加#include <cmath>)。