单选题Which is a benefit of precompiling a JSP page?()AIt avoids initialization on the first request.BIt provides the ability to debug runtime errors in the application.CIt provides better performance on the first request for the JSP page.DIt avoids execution of the _jspService method on the first request.

单选题
Which is a benefit of precompiling a JSP page?()
A

It avoids initialization on the first request.

B

It provides the ability to debug runtime errors in the application.

C

It provides better performance on the first request for the JSP page.

D

It avoids execution of the _jspService method on the first request.


参考解析

解析: 暂无解析

相关考题:

Given a JSP error page, which implicit object refers to the uncaught Throwable that resulted in th epage being invoked?()A、 ErrorB、 ExceptionC、 ThrowableD、 Request errorE、 Request exception

A JSP page needs to instantiate a JavaBean to be used by only that page. Which two jsp:useBean attributes must be used to access this attribute in the JSP page?()A、 idB、 typeC、 nameD、 classE、 scopeF、 create

Which is a benefit of precompiling a JSP page?()A、It avoids initialization on the first request.B、It provides the ability to debug runtime errors in the application.C、It provides better performance on the first request for the JSP page.D、It avoids execution of the _jspService method on the first request.

A JSP page needs to perform some operations before servicing the first request. Where can this be done?()A、 within a method called jspInitB、 within the page directive of the JSP pageC、 within a scriptlet at the top of the JSP pageD、 within the  XML element

Which JSP standard action can be used to import content from a resource called foo.jsp?()A、jsp:import file=’foo.jsp’ /B、jsp:import page=’foo.jsp’ /C、jsp:include page=’foo.jsp’ /D、jsp:include file=’foo.jsp’ /

You are creating a new JSP page and you need to execute some code that acts when the page is firstexecuted, but only once. Which three are possible mechanisms for performing this initialization code?()A、In the init method.B、In the jspInit method.C、In the constructor of the JSP’s Java code.D、In a JSP declaration, which includes an initializer block.E、In a JSP declaration, which includes a static initializer block.

Which three occur during JSP page translation?()A、 The jspInit method is called.B、 The JSP page implementation class is created.C、 The JSP page implementation class is compiled.D、 The JSP page is validated for syntatic correctness.E、 The associated tag files are validated for syntatic correctness.

You have built your own light-weight templating mechanism. Your servlets, which handle each request,dispatch the request to one of a small set of template JSP pages. Each template JSP controls the layout ofthe view by inserting the header, body, and footer elements into specific locations within the template page.The URLs for these three elements are stored in request scoped variables called, headerURL, bodyURL,and footerURL, respectively. These attribute names are never used for other purposes. Which JSP codesnippet should be used in the template JSP to insert the JSP content for the body of the page?()A、jsp:insert page=’${bodyURL}’ /B、jsp:insert file=’${bodyURL}’ /C、jsp:include page=’${bodyURL}’ /D、jsp:include file=’${bodyURL}’ /E、jsp:insert page=’%= bodyURL %’ /

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  tag that requires the page name tobe specified dynamically when the header is imported. Which JSP code snippet performs the import of theheader content?() titleA、jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:includeB、jsp:import page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:importC、jsp:include page=’/WEB-INF/jsp/header.jsp’jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:includeD、jsp:import page=’/WEB-INF/jsp/header.jsp’. jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:import

A JSP page needs to instantiate a JavaBean to be used by only that page.  Which two jsp:useBeanattributes must be used to access this attribute in the JSP page?()A、IdB、TypeC、NameD、ClassE、Yscope

A JSP page needs to set the property of a given JavaBean to a value that is calculated with the JSP page. Which three jsp:setProperty attributes must be used to perform this initialization?()A、IdB、ValC、NameD、ParamE、ValueF、Property

Select three true statements regarding Coherence()A、 Coherence provides stronger data management than an Application ServerB、 Coherence provides better scale-out performance than a Application ServerC、 Coherence provides better scale-out performance than a Database ServerD、 Coherence provides better througput than a JMS messaging server Coherence provides stronger configuration management than Grid Control

You work as a database administrator for Certkiller .com. In your database server, the parameter PLSQL_OPTIMIZE_LEVEL has been set to 2. What would this setting achieve?()A、It degrades the run time and compiler performance.B、It provides better run time and compiler performance.C、It provides better optimization of the statement during parse time.D、It forces the rule based optimizer to be used for statement optimization.E、It provides better run time performance but slightly degraded compiler performance. F、It provides better run time performance but slightly degraded run time performance.

In your database server, the parameter PLSQL_OPTIMIZE_LEVEL has been set to 2. What would this setting achieve?()A、It degrades the run time and compiler performance.B、It provides better run time and compiler performance.C、It provides better optimization of the statement during parse time.D、It forces the rule based optimizer to be used for statement optimization.E、It provides better run time performance but slightly degraded compiler performance.F、It provides better run time performance but slightly degraded run time performance.

单选题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  tag that requires the page name tobe specified dynamically when the header is imported. Which JSP code snippet performs the import of theheader content?()Ajsp:include page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:includeBjsp:import page=’/WEB-INF/jsp/header.jsp’jsp:param name=’pageName’ value=’Welcome Page’ / /jsp:importCjsp:include page=’/WEB-INF/jsp/header.jsp’jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:includeDjsp:import page=’/WEB-INF/jsp/header.jsp’. jsp:attribute name=’pageName’ value=’Welcome Page’ / . /jsp:import

多选题Which three occur during JSP page translation?()AThe jspInit method is called.BThe JSP page implementation class is created.CThe JSP page implementation class is compiled.DThe JSP page is validated for syntatic correctness.EThe associated tag files are validated for syntatic correctness.

单选题Given a JSP error page, which implicit object refers to the uncaught Throwable that resulted in th epage being invoked?()A ErrorB ExceptionC ThrowableD Request errorE Request exception

单选题Which JSTL code snippet can be used to import content from another web resource?()Ac:import url=foo.jsp/Bc:import page=foo.jsp/Cc:include url=foo.jsp/Dc:include page=foo.jsp/

多选题You are creating a new JSP page and you need to execute some code that acts when the page is firstexecuted, but only once. Which three are possible mechanisms for performing this initialization code?()AIn the init method.BIn the jspInit method.CIn the constructor of the JSP’s Java code.DIn a JSP declaration, which includes an initializer block.EIn a JSP declaration, which includes a static initializer block.

单选题In your database server, the parameter PLSQL_OPTIMIZE_LEVEL has been set to 2. What would this setting achieve?()AIt degrades the run time and compiler performance.BIt provides better run time and compiler performance.CIt provides better optimization of the statement during parse time.DIt forces the rule based optimizer to be used for statement optimization.EIt provides better run time performance but slightly degraded compiler performance.FIt provides better run time performance but slightly degraded run time performance.

单选题You have built your own light-weight templating mechanism. Your servlets, which handle each request,dispatch the request to one of a small set of template JSP pages. Each template JSP controls the layout ofthe view by inserting the header, body, and footer elements into specific locations within the template page.The URLs for these three elements are stored in request scoped variables called, headerURL, bodyURL,and footerURL, respectively. These attribute names are never used for other purposes. Which JSP codesnippet should be used in the template JSP to insert the JSP content for the body of the page?()Ajsp:insert page=’${bodyURL}’ /Bjsp:insert file=’${bodyURL}’ /Cjsp:include page=’${bodyURL}’ /Djsp:include file=’${bodyURL}’ /Ejsp:insert page=’%= bodyURL %’ /

单选题Which JSP standard action can be used to import content from a resource called foo.jsp?()Ajsp:import file=’foo.jsp’ /Bjsp:import page=’foo.jsp’ /Cjsp:include page=’foo.jsp’ /Djsp:include file=’foo.jsp’ /

单选题Which is a benefit of precompiling a JSP page?()AIt avoids initialization on the first request.BIt provides the ability to debug runtime errors in the application.CIt provides better performance on the first request for the JSP page.DIt avoids execution of the _jspService method on the first request.

单选题A JSP page needs to perform some operations before servicing the first request. Where can this be done?()A within a method called jspInitB within the page directive of the JSP pageC within a scriptlet at the top of the JSP pageD within the  XML element

多选题A JSP page needs to instantiate a JavaBean to be used by only that page.  Which two jsp:useBeanattributes must be used to access this attribute in the JSP page?()AIdBTypeCNameDClassEYscope

单选题You work as a database administrator for Certkiller .com. In your database server, the parameter PLSQL_OPTIMIZE_LEVEL has been set to 2. What would this setting achieve?()AIt degrades the run time and compiler performance.BIt provides better run time and compiler performance.CIt provides better optimization of the statement during parse time.DIt forces the rule based optimizer to be used for statement optimization.EIt provides better run time performance but slightly degraded compiler performance. FIt provides better run time performance but slightly degraded run time performance.

多选题A JSP page needs to set the property of a given JavaBean to a value that is calculated with the JSP page. Which three jsp:setProperty attributes must be used to perform this initialization?()AIdBValCNameDParamEValueFProperty

单选题Your web application views all have the same header, which includes the  tag in the  elementof the rendered HTML. You have decided to remove this redundant HTML code from your JSPs and put itinto a single JSP called /WEB-INF/jsp/header.jsp. However, the title of each page is unique, so you havedecided to use a variable called pageTitle to parameterize this in the header JSP, like this: 10.${param.pageTitle} Which JSP code snippet should you use in your main view JSPs to insert the header and pass thepageTitle variable?()Ajsp:insert page=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:insertBjsp:include page=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:includeCjsp:include file=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:includeDjsp:insert page=’/WEB-INF/jsp/header.jsp’. jsp:param name=’pageTitle’ value=’Welcome Page’ / . /jsp:insertEjsp:include page=’/WEB-INF/jsp/header.jsp’. jsp:param name=’pageTitle’ value=’Welcome Page’ / . /jsp:include