单选题You are building a web application with a scheduling component. On the JSP, you need to show the currentdate, the date of the previous week, and the date of the next week. To help you present this information,you have created the following EL functions

题目
单选题
You are building a web application with a scheduling component. On the JSP, you need to show the currentdate, the date of the previous week, and the date of the next week. To help you present this information,you have created the following EL functions in the ’d’ namespace: name: curDate; signature: java.util.DatecurrentDate() name: addWeek; signature: java.util.Date addWeek(java.util.Date, int) name: dateString;signature:java.util.String getDateString(java.util.Date) Which EL code snippet will generate the string for the previousweek?
A

${d:dateString(addWeek(curDate(), -1))}

B

${d:dateString[addWeek[curDate[], -1]]}

C

${d:dateString[d:addWeek[d:curDate[], -1]]}

D

${d:dateString(d:addWeek(d:curDate(), -1))}


相似考题
更多“单选题You are building a web application with a scheduling component. On the JSP, you need to show the currentdate, the date of the previous week, and the date of the next week. To help you present this information,you have created the following EL functions”相关问题
  • 第1题:

    You create a service and deploy it on a network in a building named Building1. You will deploy the service to Building2.The service in Building1 is configured using the following discovery scopes.The service in Building2 will be configured using the following discovery scopes.You need to ensure that the client application can discover the service in Building1 or the service in Building2.Which scopes should you add to the client configuration file? ()

    A.

    B.

    C.

    D.


    参考答案:B

  • 第2题:

    The insert point or( )show you where can enter date next .

    A.icon

    B.cursor

    C.menu

    D.button


    正确答案:B

  • 第3题:

    — I'll fly to New York on business next week. —Well,().

    • A、have a pleasant journey
    • B、you’re so lucky to go abroad
    • C、wish you happy 
    • D、good-bye

    正确答案:A

  • 第4题:

    You are building a web application with a scheduling component. On the JSP, you need to show the currentdate, the date of the previous week, and the date of the next week. To help you present this information,you have created the following EL functions in the ’d’ namespace: name: curDate; signature: java.util.DatecurrentDate() name: addWeek; signature: java.util.Date addWeek(java.util.Date, int) name: dateString;signature:java.util.String getDateString(java.util.Date) Which EL code snippet will generate the string for the previousweek?

    • A、${d:dateString(addWeek(curDate(), -1))}
    • B、${d:dateString[addWeek[curDate[], -1]]}
    • C、${d:dateString[d:addWeek[d:curDate[], -1]]}
    • D、${d:dateString(d:addWeek(d:curDate(), -1))}

    正确答案:D

  • 第5题:

    You have the Web Server (IIS) role installed on a server that runs Windows Server 2008. You create a Web site named contoso.com. You copy an application named WebContent to the server. You need to enable the WebContent application on the Web site. What should you do?()

    • A、At the command prompt on the server, run the appcmd add site command.
    • B、At the command prompt on the server, run the appcmd add vdir command.
    • C、Select the Web site from the Internet Information Services (IIS) Manager console. Select Add Application.
    • D、Select the Web site from the Internet Information Services (IIS) Manager console. Select Add Virtual Directory.

    正确答案:C

  • 第6题:

    You work as a Web Developer at Certkiller.com. You create a Web application using MicrosoftASP.NET 3.5.  Certkiller.com hosts the application in Microsoft Internet Information Services 7.0. You attempt tobrowse the application and receive the following error message:  Service Unavailable    HTTP Error 503. The service is unavailable.   You check and discover that you are able to browse successfully to other application that formspart of the same IIS Web site. The hosted applications on the network make use of ASP.NET 3.5.There are not previous versions of ASP.NET is installed. You need to resolve this error as soon aspossible.  What should you do?()

    • A、You should run the ServiceModel Metadata Utility tool (Svcutil.exe).
    • B、You should change the pipeline mode associated with the application pool that hosts theapplication.
    • C、You should run the ASP.NET Registration Tool (Aspnet_regiis.exe).
    • D、You should make sure that the application pool that hosts the application is initiated.

    正确答案:D

  • 第7题:

    You are designing an application that will use Windows Azure Table storage to store millions of data points each day.  The application must retain each day’s data for only one week.   You need to recommend an approach for minimizing storage transactions.  What should you recommend?()

    • A、 Use a separate table for each date.  Delete eachtable when it is one week old.
    • B、 Use a separate table for each week.  Delete each table when it is one week old.
    • C、 Use a single table, partitioned by date.  Use Entity Group Transactions to delete data when it is one week old.
    • D、 Use a single table, partitioned by week.  Use Entity Group Transactions to delete data when it is one week old.

    正确答案:A

  • 第8题:

    单选题
    You are the network administrator for your company. Your network consists of a single Active Directory domain named All network servers run Windows Server 2003. You successfully install a new server named Server9. Immediately afterward, you perform the first backup of the server. The date is January 25, 2003. Next, you add a user named Anna to the local Backup Operators group. You direct Anne to perform nightly backups of Server9. One week later, you try to review the backup logs for Server9. The Backup utility displays the information show in the exhibit Exhibit: Backup Reports Report date, time and backup job name: 1/25/2003 4:12 PM - Interactive You verify that Anne is performing nightly backups. You need to be able to review the backup logs for the previous week. What should you do?()
    A

    Add your user account to the local Backup Operators group.

    B

    Direct Anne to use her user account to log on and open the Backup utility.

    C

    In the Backup utility, select the verify data after the backup completes check box.

    D

    Open %windir%/System32/LogFiles. Create a new subfolder named BackupLogs.


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

  • 第9题:

    单选题
    You are building a dating web site. The client’s date of birth is collected along with lots of other information.You have created an EL function with the signature: calcAge(java.util.Date):int and it is assigned to the name, age, in the namespace, funct. In one of your JSPsyou need to print a special message to clients who are younger than 25.  Which EL code snippet will returntrue for this condition?()
    A

    ${calcAge(client.birthDate) < 25}

    B

    ${calcAge[client.birthDate] < 25}

    C

    ${funct:age(client.birthDate) < 25}

    D

    ${funct:age[client.birthDate] < 25}

    E

    ${funct:calcAge(client.birthDate) < 25}


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

  • 第10题:

    单选题
    You have the Web Server (IIS) role installed on a server that runs Windows Server 2008. You create a Web site named contoso.com. You copy an application named WebContent to the server. You need to enable the WebContent application on the Web site. What should you do?()
    A

    At the command prompt on the server, run the appcmd add site command.

    B

    At the command prompt on the server, run the appcmd add vdir command.

    C

    Select the Web site from the Internet Information Services (IIS) Manager console. Select Add Application.

    D

    Select the Web site from the Internet Information Services (IIS) Manager console. Select Add Virtual Directory.


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

  • 第11题:

    单选题
    You have a Web server that runs Windows Server 2003 Service Pack 2 (SP2). You need to collect the following information from the Web server: Unauthorized attempts to upload filesUnsuccessful commands that try to run executables You must achieve this goal by using the minimum amount of administrative effort.  What should you do?()
    A

    From Network Monitor, start a capture.

    B

    From the Performance snap-in, create a counter log.

    C

    From Internet Information Services (IIS) Manager, enable logging.

    D

    From Computer Management, modify the properties of the application log.


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

  • 第12题:

    单选题
    You are the network administrator for TestKing. You manage a Windows Server 2003 computer named TestKing4 that functions as an application server. TestKing4 will be used for development during the next 30 days. You need to back up all data on TestKing4 every day for the next 30 days. You need to automate the backups of TestKing4 to meet these business requirements. You want to achieve this goal by using the minimum amount of administrative effort. What should you do?()
    A

    Create a scheduled backup job as a normal backup. Copy the backup job, and modify the start date so that one job starts every day for the next 30 days.

    B

    Create a scheduled backup job as a daily backup. Set the start date of the job for today, and set the end date for 30 days from today.

    C

    Create a scheduled backup job as a copy backup. Copy the backup job, and modify the start date so that one job starts every day for the next 30 days.

    D

    Create a scheduled backup job as a normal backup. Set the start date of the job for today, and set the end date for 30 days from today.


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

  • 第13题:

    – Are you sure about this? -- _______________.

    A、Absolutely.

    B、About what?

    C、Nice talking with you.

    D、See you next week.


    正确答案:A

  • 第14题:

    You are the network administrator for TestKing. You manage a Windows Server2003 computer named TestKing4 that functions as an application server.TestKing4 will be used for development during the next 30 days. You need to backup all data on TestKing4 every day for the next 30 days.You need to automate the backups of TestKing4 to meet these businessrequirements. You want to achieve this goal by using the minimum amount ofadministrative effort.What should you do?()

    A. Create a scheduled backup job as a normal backup. Copy the backup job, and modify the start date so that one job starts every day for the next 30 days.

    B. Create a scheduled backup job as a daily backup. Set the start date of the job for today, and set the end date for 30 days from today.

    C. Create a scheduled backup job as a copy backup. Copy the backup job, and modify the start date so that one job starts every day for the next 30 days.

    D. Create a scheduled backup job as a normal backup. Set the start date of the job for today, and set the end date for 30 days from today.


    参考答案:D

  • 第15题:

    You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message:  Server Application Unavailable  The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request.  You view the Application event log and discover the following message:  It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process.  To ensure productivity you need to solve this problem as quick as possible.  What should you do?()

    • A、You should change the IIS isolation mode.
    • B、You should assign the application to another application pool.
    • C、You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.
    • D、You should run the Aspnet_regiis.exe Tool.
    • E、You should restart the application pool that hosts the application.

    正确答案:B,C

  • 第16题:

    You are building a dating web site. The client’s date of birth is collected along with lots of other information.You have created an EL function with the signature: calcAge(java.util.Date):int and it is assigned to the name, age, in the namespace, funct. In one of your JSPsyou need to print a special message to clients who are younger than 25.  Which EL code snippet will returntrue for this condition?()

    • A、${calcAge(client.birthDate) < 25}
    • B、${calcAge[client.birthDate] < 25}
    • C、${funct:age(client.birthDate) < 25}
    • D、${funct:age[client.birthDate] < 25}
    • E、${funct:calcAge(client.birthDate) < 25}

    正确答案:C

  • 第17题:

    You work as an application developer at Certkiller .com. You have recently created an application domain for Certkiller .com. A few weeks later you are asked to retrieve information from this application domain, which is the current application domain. What can you do to achieve this objective?()

    • A、 Use the following code: AppDomain appInfo = ApplicationDomain.Current;
    • B、 Use the following code: AppDomain appInfo = AppDomain.CurrentDomain ();
    • C、 Use the following code: AppDomain appInfo = Thread.GetDomain ();
    • D、 Use the following code: AppDomain appInfo = MainThread.GetDomain ();

    正确答案:B,C

  • 第18题:

    You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0. Now, you are deploying the ASP.NET Web application to a remote server. You are required to select a deployment method that will make sure that all Internet Information Services (IIS) settings, in addition to the Web content, are deployed to the remote server. Which of the following deployment methods will you select to accomplish this?()

    • A、Web Setup project
    • B、Web-based deployment
    • C、Deployment manifest
    • D、Web Deployment Tool

    正确答案:D

  • 第19题:

    You are the network administrator for your company. Your network consists of a single Active Directory domain named All network servers run Windows Server 2003. You successfully install a new server named Server9. Immediately afterward, you perform the first backup of the server. The date is January 25, 2003. Next, you add a user named Anna to the local Backup Operators group. You direct Anne to perform nightly backups of Server9. One week later, you try to review the backup logs for Server9. The Backup utility displays the information show in the exhibit Exhibit: Backup Reports Report date, time and backup job name: 1/25/2003 4:12 PM - Interactive You verify that Anne is performing nightly backups. You need to be able to review the backup logs for the previous week. What should you do?()

    • A、Add your user account to the local Backup Operators group.
    • B、Direct Anne to use her user account to log on and open the Backup utility.
    • C、In the Backup utility, select the verify data after the backup completes check box.
    • D、Open %windir%/System32/LogFiles. Create a new subfolder named BackupLogs.

    正确答案:B

  • 第20题:

    单选题
    You work as a Web Developer at Certkiller.com. You create a Web application using MicrosoftASP.NET 3.5.  Certkiller.com hosts the application in Microsoft Internet Information Services 7.0. You attempt tobrowse the application and receive the following error message:  Service Unavailable    HTTP Error 503. The service is unavailable.   You check and discover that you are able to browse successfully to other application that formspart of the same IIS Web site. The hosted applications on the network make use of ASP.NET 3.5.There are not previous versions of ASP.NET is installed. You need to resolve this error as soon aspossible.  What should you do?()
    A

    You should run the ServiceModel Metadata Utility tool (Svcutil.exe).

    B

    You should change the pipeline mode associated with the application pool that hosts theapplication.

    C

    You should run the ASP.NET Registration Tool (Aspnet_regiis.exe).

    D

    You should make sure that the application pool that hosts the application is initiated.


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

  • 第21题:

    单选题
    You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You have recently finished the development of an ASP.NET Web application using .NET Framework 4.0. Now, you are deploying the ASP.NET Web application to a remote server. You are required to select a deployment method that will make sure that all Internet Information Services (IIS) settings, in addition to the Web content, are deployed to the remote server. Which of the following deployment methods will you select to accomplish this?()
    A

    Web Setup project

    B

    Web-based deployment

    C

    Deployment manifest

    D

    Web Deployment Tool


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

  • 第22题:

    单选题
    You are designing an application that will use Windows Azure Table storage to store millions of data points each day.  The application must retain each day’s data for only one week.   You need to recommend an approach for minimizing storage transactions.  What should you recommend?()
    A

     Use a separate table for each date.  Delete eachtable when it is one week old.

    B

     Use a separate table for each week.  Delete each table when it is one week old.

    C

     Use a single table, partitioned by date.  Use Entity Group Transactions to delete data when it is one week old.

    D

     Use a single table, partitioned by week.  Use Entity Group Transactions to delete data when it is one week old.


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

  • 第23题:

    问答题
    Practice 2  ● You are the General Manager of the Northern Shanghai Import and Export Company. You have arranged to visit a branch office in Luen Wu next week. However, an important client from Hong Kong has just written to tell you that he will be visiting Shanghai next week and would like to meet you for discussions. He says that this is the only time he will be visiting Shanghai during the year, and you know that it is very important for you to see him.  ● Write a fax to the manager of the branch office in Luen Wu.  ● Tell him or her about the client’s visit.  ● Explain why it is important for you to see the Hong Kong client.  ● Re-arrange the date of your visit to Luen Wu.  ●Write 60-80 words.

    正确答案: 【参考范文】
    Fax to Jack, manager of the branch office in Luen Wu
    Dear Jack,
    I’ve just received a letter from an important client form Hong Kong, and the letter says he will visit Shanghai next week. We need to meet to discuss some business, and since he cannot re-arrange his visit, I am wondering if we delay my visit to your office until the week concerning 5 October?
    Tom Smith
    解析: 暂无解析