单选题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>


相似考题
参考答案和解析
正确答案: A
解析: 暂无解析
更多“单选题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”相关问题
  • 第1题:

    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

  • 第2题:

    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

  • 第3题:

    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

  • 第4题:

    You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following code segment to protect the page.if (Page.User.Identity.Name != @"CONTOSO/Administrator") { the page, you are redirected to Login.aspx. You discover that the User.Identity.Name property is not being correctly populated. You need to ensure that you can access the page when you are logged on as Administrator. Which two actions should you perform? ()

    • A、In the Web.config file, enable impersonation.
    • B、In IIS, enable anonymous access.
    • C、In IIS, disable anonymous access.
    • D、In the Web.config file, set the authentication mode to Windows.

    正确答案:C,D

  • 第5题:

    You use Microsoft .NET Framework 4 to create a Windows application. You use ClickOnce technology to install the application on computers that run Windows 7 with User Access Control (UAC) enabled. The application requires access to environment variables on each computer. You need to ensure that users who do not have administrative permissions can install the application. Which deployment method should you use? ()

    • A、 Start from Web.
    • B、 Install from Web.
    • C、 Start from network share
    • D、 Install from network share.

    正确答案:D

  • 第6题:

    单选题
    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.


    正确答案: D
    解析: 暂无解析

  • 第7题:

    多选题
    You are a systems administrator responsible for managing a Windows Server 2008 Web Server Currently,there are no Web sites configured on the server. You need to configure the server to host two Web applications: Engineering App and Sales App. Both Web applications must be accessible by using HTTPport 80 without the use of host headers. Also, you must protect against problems in one Web applicationaffecting the performance or reliability of the other Web application. Which two steps should you take tomeet these requirements?()
    A

    Create a single Web site that contains both Web applications.

    B

    Create two Web sites, one for each Web application.

    C

    Assign both Web applications to the same application pool.

    D

    Assign each Web application to its own application pool.


    正确答案: B,D
    解析: 暂无解析

  • 第8题:

    单选题
    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;


    正确答案: B
    解析: 暂无解析

  • 第9题:

    单选题
    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.


    正确答案: B
    解析: 暂无解析

  • 第10题:

    单选题
    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); %>


    正确答案: A
    解析: 暂无解析

  • 第11题:

    单选题
    You have a server that runs Windows Server 2008. The Web Server (IIS) role is installed.  You plan to host multiple Web sites on the server. You configure a single IP address for the server. All Web sites are registered in DNS to point to the single IP address.  You need to ensure that each Web site only responds to requests by name from all client computers.  What should you do?()
    A

    Configue a unique port for each Web site.

    B

    Configue a unique IP address for each Web site.

    C

    Configue a unique Host Header for each Web site.

    D

    Edit the Hosts file on the server to add all the Web site names associated to the network address.


    正确答案: D
    解析: 暂无解析

  • 第12题:

    单选题
    You replaced your Layer 3 switch, which is the default gateway of the end users. Many users cannot access anything now, including email, Internet, and other applications, although other users do not have any issues. All of the applications are hosted in an outsourced data center. In order to fix the problem, which one of these actions should you take?()
    A

    Clear the MAC address table in the switch.

    B

    Clear the ARP cache in the switch.

    C

    Clear the ARP cache in the end devices.

    D

    Clear the ARP cache in the application servers.


    正确答案: B
    解析: 暂无解析

  • 第13题:

    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

  • 第14题:

    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

  • 第15题:

    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

  • 第16题:

    You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error. Which event should you use?()

    • A、WebAuditEvent
    • B、WebEventManager
    • C、WebBaseEvent
    • D、WebRequestEvent

    正确答案:C

  • 第17题:

    You have a server that runs Windows Server 2008. The Web Server (IIS) role is installed.  You plan to host multiple Web sites on the server. You configure a single IP address for the server. All Web sites are registered in DNS to point to the single IP address.  You need to ensure that each Web site only responds to requests by name from all client computers.  What should you do?()

    • A、Configue a unique port for each Web site.
    • B、Configue a unique IP address for each Web site.
    • C、Configue a unique Host Header for each Web site.
    • D、Edit the Hosts file on the server to add all the Web site names associated to the network address.

    正确答案:C

  • 第18题:

    单选题
    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
    解析: 暂无解析

  • 第19题:

    单选题
    You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error. Which event should you use? ()
    A

    WebAuditEvent

    B

    WebEventManager

    C

    WebBaseEvent

    D

    WebRequestEvent


    正确答案: D
    解析: 暂无解析

  • 第20题:

    单选题
    You use Microsoft .NET Framework 4 to create a Windows application. You use ClickOnce technology to install the application on computers that run Windows 7 with User Access Control (UAC) enabled. The application requires access to environment variables on each computer. You need to ensure that users who do not have administrative permissions can install the application. Which deployment method should you use? ()
    A

     Start from Web.

    B

     Install from Web.

    C

     Start from network share

    D

     Install from network share.


    正确答案: C
    解析: 暂无解析

  • 第21题:

    单选题
    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. <globalization culture=Auto />

    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


    正确答案: A
    解析: 暂无解析

  • 第22题:

    单选题
    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
    解析: 暂无解析

  • 第23题:

    单选题
    You work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services, and configuring aweb services infrastructure. There is a Windows Server 2008 server, and the Web Server (IIS) server roleis installed on the server. Multiple Web sites are hosted by the server. Since you are the technical support,you are required to set the server to make it automatically release memory for a single Web site. What's more, no other Web sites should be impacted. Which action should be performed to achieve the goal?()
    A

    From the Application Pool Defaults, the Recycling options should be changed.

    B

    A new Web site should be created and the bindings should be edited for the Web site.

    C

    A new application pool should be created and the Web site should be associated to the application pool.

    D

    A new virtual directory should be created and the Physical Path Credentials on the virtual directoryshould be changed.


    正确答案: B
    解析: 暂无解析

  • 第24题:

    单选题
    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>


    正确答案: C
    解析: 暂无解析