SCWCD(310-083)

单选题You have created a web application that you license to real estate brokers. The webapp is highly customizable including the email address of the broker, which is placed on the footer of each page. This isconfigured as a context parameter in the deploym

题目
单选题
You have created a web application that you license to real estate brokers. The webapp is highly customizable including the email address of the broker, which is placed on the footer of each page. This isconfigured as a context parameter in the deployment descriptor: 10. 11.footerEmail 12.joe@estates-r-us.biz 13. Which EL code snippet will insert this context parameter into the footer?()
A

<a href=’mailto:${footerEmail}’>Contact me</a>

B

<a href=’mailto:${initParam@footerEmail}’>Contact me</a>

C

<a href=’mailto:${initParam.footerEmail}’>Contact me</a>

D

<a href=’mailto:${contextParam@footerEmail}’>Contact me</a>

E

<a href=’mailto:${contextParam.footerEmail}’>Contact me</a>

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

In a JSP-centric web application, you need to create a catalog browsing JSP page. The catalog is stored asa List object in the catalog attribute of the webapp’s ServletContext object.  Which scriptlet code snippetgives you access to the catalog object?()

  • A、<% List catalog = config.getAttribute("catalog"); %>
  • B、<% List catalog = context.getAttribute("catalog"); %>
  • C、<% List catalog = application.getAttribute("catalog"); %>
  • D、<% List catalog = servletContext.getAttribute("catalog"); %>

正确答案:C

第2题:

All of your JSPs need to have a link that permits users to email the web master. This web application islicensed to many small businesses, each of which have a different email address for the web master. Youhave decided to use a context parameter that you specify in the deployment descriptor, like this: 42. 43.webmasterEmail 44.master@example.com 45. Which JSP code snippet creates this email link?()

  • A、<a href=’mailto:${contextParam.webmasterEmail}’>contact us</a>
  • B、<a href=’mailto:${applicationScope.webmasterEmail}’>contact us</a>
  • C、<a href=’mailto:${contextInitParam.webmasterEmail}’>contact us</a>
  • D、<a href=’mailto:${initParam.webmasterEmail}’>contact us</a>

正确答案:D

第3题:

You create a Web application for your company‘s intranet. You want to enable users to customize their versions of the intranet home page. You create sections of content as Web Parts. You need to ensure that users can customize content at any time.Which two code segments should you use?()

A.

B.

C.

D.


参考答案:B, C

第4题:

You work as a network Exchange administrator at Company.com.The Company.com network  currently consists of a single Active Directory forest containing a single domain named Company.com.The Company.com organization makes use of Microsoft Exchange Server 2010 as their messaging solution.The Company.com network users have been configured by Company.com to have the @Company.com email address suffix.During the course of the business week you receive instruction from Company.com to configure a public folder named KingPublic for the Internet users to post content by sending e-mail to KingPublic@Company.com.  What should you do?()

  • A、You should consider having a new mail contact created which has the e-mail address KingPublic@Company.com.You should then have a transport rule created.
  • B、You should consider having a new mailbox created which has the e-mail address KingPublic@Company.com.You should then have a transport rule created.
  • C、You should consider having mail enabled for KingPublic.
  • D、You should consider having the author role assigned to Anonymous.

正确答案:C

第5题:

A web application is bound to the context named "/webapp" and the client uses the browser and  makes a request to the resource http://server:port/webapp/ctxl/resource.    Where do you place this resource inside the web application structure?()

  • A、in the subdirectory /WEB-INF/ctxl
  • B、in the subdirectory /META-INF/ctxl
  • C、in the subdirectory /ctxl in the root of the archive
  • D、in the subdirectory /ctxl/resource in the root of the archive
  • E、in the root of the archive

正确答案:C

第6题:

You have created a web application that you license to real estate brokers. The webapp is highly customizable including the email address of the broker, which is placed on the footer of each page. This isconfigured as a context parameter in the deployment descriptor: 10. 11.footerEmail 12.joe@estates-r-us.biz 13. Which EL code snippet will insert this context parameter into the footer?()

  • A、<a href=’mailto:${footerEmail}’>Contact me</a>
  • B、<a href=’mailto:${initParam@footerEmail}’>Contact me</a>
  • C、<a href=’mailto:${initParam.footerEmail}’>Contact me</a>
  • D、<a href=’mailto:${contextParam@footerEmail}’>Contact me</a>
  • E、<a href=’mailto:${contextParam.footerEmail}’>Contact me</a>

正确答案:C

第7题:

You are developing a tax report for the payroll application. You created a before parameter form report trigger to create three temporary tables to store text that are need while the report is executed. Which report trigger would you use to delete these temporary tables?()

  • A、Before parameter form. 
  • B、After parameter form. 
  • C、Before report. 
  • D、After report.

正确答案:D

第8题:

You need to recommend changes to Web1 that meet the company’s application requirements for the WebApp2 deployment.   What should you recommend?()

  • A、Add a second IP address.
  • B、Configure request filtering.
  • C、Create separate application pools.
  • D、Add worker processes to the DefaultAppPool.

正确答案:C

第9题:

You write a Web application. This application must support multiple languages. You store the localized strings in the application as resources. You want these resources to be accessed according to a users language preference. You create the following resource files in the App_GlobalResources folder of your application. myStrings.resx myStrings.en-CA.resx myString.en-US.resx myStrings.fr-CA.resx myStrings.es-MX.resxEach resource file stores a localized version of the following strings: Name, E-mail, Address, and Phone. You create a Web Form that contains one label for each of these strings. You need to ensure that the correct localized version of each string is displayed in each label, according to a users language preference. What should you do? ()

  • A、Add the following configuration section to the Web.config file.
  • B、Set the directive for each page in your site as follows: <%@ page="" uiculture="”Auto”">
  • C、Add the following code segment to the pages load event.lblName.Text = @”{myStrings}Name”; lblAddress.Text = @”{myStrings}Address”; lblEmail.Text = @”{myStrings}Email”; lblPhone.Text = @”{myStrings}Phone”;
  • D、Add the following code segment to the pages load event.lblName.Text = Resources.myStrings.Name; lblAddress.Text = Resources.myStrings.Address; lblEmail.Text = Resources.myStrings.Email; lblPhone.Text = Resources.myStrings.Phone;

正确答案:D

第10题:

You write a Web application. This application must support multiple languages. You store the localized strings in the application as resources. You want these resources to be accessed according to a users language preference. You create the following resource files in the App_GlobalResources folder of your application.myStrings.resxmyStrings.enCA.resxmyString.en-US.resxmyStrings.fr-CA.resxmyStrings.es-MX.resx resource file stores a localized version of the following strings: Name, E-mail, Address, and Phone. You create a Web Form that contains one label for each of these strings. You need to ensure that the correct localized version of each string is displayed in each label, according to a users language preference. What should you do? ()

  • A、Add the following configuration section to the Web.config file.
  • B、Set the directive for each page in your site as follows:<%@ page="" uiculture="“Auto”">
  • C、Add the following code segment to the pages load event.lblName.Text = @”{myStrings}Name”; lblAddress.Text = @”{myStrings}Address”; lblEmail.Text = @”{myStrings}Email”; lblPhone.Text = @”{myStrings}Phone”;
  • D、Add the following code segment to the pages load event. lblName.Text = Resources.myStrings.Name; lblAddress.Text = Resources.myStrings.Address; lblEmail.Text = Resources.myStrings.Email; lblPhone.Text = Resources.myStrings.Phone;

正确答案:D

更多相关问题