Transfer Object
Service Locator
Intercepting Filter
Business Delegate
第1题:
To take advantage of the capabilities of modern browsers that use web standards, such as XHTML andCSS, your web application is being converted from simple JSP pages to JSP Document format. However,one of your JSPs, /scripts/screenFunctions.jsp, generates a JavaScript file. This file is included in severalweb forms to create screen-specific validation functions and are included in these pages with the followingstatement: 10. 11.
第2题:
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?()
第3题:
Given the JSP code: 10. 11. 12.
第4题:
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do? ()
第5题:
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do?()
第6题:
Studies have shown that customers who use cough syrup without a measuring cup frequently take either too little or too much of the medicine, rendering the dosage either ineffective or, in cases of overdose, dangerous.
The company has included a measuring cup with each bottle of cough syrup for the last 18 years.
Studies have shown that 85 percent of consumers possess at home either a measuring cup, a set of measuring spoons or both.
Many customers neglect to follow the recommended dosage of cough syrup even when the measuring cup is packaged along with the bottle of cough syrup.
Shipping the cough syrup bottles without the measuring cups will provide a marginal improvement in the number of cough syrup bottles that can be shipped is a standard package.
第7题:
Implement parameterized Transact-SQL queries in the application.
Implement Transact-SQL stored procedures in the database.
Implement CLR stored procedures in the database.
Implement distributed Web services.
第8题:
Transfer Object
Front Controller
Service Locator
Intercepting Filter
Business Delegate
Model-View-Controller
第9题:
<%@ page contentType=’application/javascript’ %>
<jsp:page contentType='application/javascript' />
<jsp:document contentType='application/javascript' />
No declaration is needed because the web form XHTML page already declares the MIME type of the /scripts/screenFunctions.jsp file in the <script> tag.
第10题:
Java code
Template text
Scripting code
Standard action
Expression language
第11题:
Transfer Object
Service Locator
Intercepting Filter
Business Delegate
第12题:
In the Web.config file of the application,set the Theme attribute of the pages element to the name of the theme.
In the Web.config file of the application,set the StyleSheetThemeattribute of the pages element to the name of the theme.
Add a master page to the application. In the @Master directive,set the Theme attribute to the name of the theme.
Add a master page to the application. In the @Master directive,set the StyleSheetTheme attribute to the name of the theme.
第13题:
Krstin has created a page in the videos application .which one of the following statements about pages is not true ?()
第14题:
You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()
第15题:
Squeaky Beans Inc. hired an outside consultant to develop their web application. To finish the job quickly,the consultant created several dozen JSP pages that directly communicate with the database. The Squeakybusiness team has since purchased a set of business objects to model their system, and the Squeaky developer charged with maintaining the web application must now refactor all the JSPs to work with the newsystem. Which pattern can the developer use to solve this problem?()
第16题:
You modify an existing Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You add a theme to the ASP.NET application. You need to apply the theme to override any settings of individual controls. What should you do?()
第17题:
it is difficult for them to finish the job in time
difficult for them to finish the job in time
they have much difficulty to finish the job in time
that difficult for them to finish the job in time
第18题:
Java code
Template text
Scripting code
Standard action
Expression language
第19题:
SetPage.MasterPageFile in the Page’sPage_Initevent.
SetPage.MasterPageFile in the Page’sOnInit event.
SetPage.MasterPageFile in the Page’sPage_Loadevent.
SetPage.MasterPageFile in the Page’sPage_PreInitevent.
第20题:
<% if ( request.isUserInRole(SalesManager) ) { %> <%@ include file=’/WEB-INF/html/sales-mgr-menu.html’ %> <% } %>
<jsp:if test=’request.isUserInRole(SalesManager)’> <%@ include file=’/WEB-INF/html/sales-mgr-menu.html’ %> </jsp:if>
<% if ( request.isUserInRole(SalesManager) ) { %> . <jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ /> . <% } %>
<jsp:if test=’request.isUserInRole(SalesManager)’> <jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ /> </jsp:if>
第21题:
JSP
HTML页面
Servlet
View Beans
第22题:
Set Page.MasterPageFile in the Page's Page_Init event.
Set Page.MasterPageFile in the Page's OnInit override.
Set Page.MasterPageFile in the Page's Page_Load event.
Set Page.MasterPageFile in the Page's Page_PreInit event.
第23题:
Transfer Object
Service Locator
Intercepting Filter
Business Delegate
第24题:
CPU,because the database replication process requires a considerable amount of CPU time
Memory,because the buffer cache requires a large amount of memory to maintain the data in system memory
Disk,because it is important to configure a sufficient number of disks to match the CPU processing power
Network,because the data returned to the client from the server can be a large subset of the total database