单选题A developer for the Company.com web site has been told that users may turn off cookie support in their browsers. What must the developer do to ensure that these customers can still use the web application?()AThe developer must ensure that every URL is 

题目
单选题
A developer for the Company.com web site has been told that users may turn off cookie support in their browsers. What must the developer do to ensure that these customers can still use the web application?()
A

 The developer must ensure that every URL is properly encoded using the appropriate URL rewriting APIs

B

 The developer must provide an alternate mechanism for managing sessions and abandon theHttpSession mechanism entirely

C

 The developer can ignore this issue. Web containers are required to support automatic URL rewriting when cookies are not supported

D

 The developer must ass the string ?id= to the end of every URL to ensure that the conversion with the browser can continue.


相似考题
更多“单选题A developer for the Company.com web site has been told that users may turn off cookie support in their browsers. What must the developer do to ensure that these customers can still use the web application?()A  The developer must ensure that every URL i”相关问题
  • 第1题:

    A developer is designing a web application that must support multiple interfaces,including: an XML web service for B2B HTML for web-based clients WML for wireless customers. Which designpattern provides a solution for this problem?()

    • A、Session Facade
    • B、Business Delegate
    • C、Data Access Object
    • D、Model-View-Controller
    • E、Chain of Responsibility

    正确答案:D

  • 第2题:

    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?()

    • A、Transfer Object
    • B、Service Locator
    • C、Intercepting Filter
    • D、Business Delegate

    正确答案:D

  • 第3题:

    You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()

    • A、Enable WebDAV.
    • B、Enable Server Side Includes.
    • C、Configure both Web sites to use different IP addresses.
    • D、Configure both Web sites to use different application pools.

    正确答案:C

  • 第4题:

    You are the desktop administrator for your company. Your company’s software developers use Windows XP Professional and IIS on their client computers to develop Web-based applications. All client computers use Microsoft Internet Explorer 6. 0 or later as their Web browser. One of the developers reports that he can no longer access the Web-based application on his desktop by using his Web browser. When you attempt to access the application by using your Web browser, you receive the following error message: “Cannot find server or DNS Error.” You verify that the World Wide Web Publishing Service is started on the developer’s computer. You also verify that you are using the correct URL to access the developer’s computer by using your Web browser. You need to ensure that the developer can access the Web application by using his Web browser. How should you configure the developer’s computer?() 

    • A、Start the default Web site.
    • B、Start the IIS Admin Service.
    • C、Run the IPconfig /registerdns command.
    • D、In the default Web site properties,disable the host header setting.

    正确答案:A

  • 第5题:

    Your network contains two Web servers named Web1 and Web2. Web1 hosts the companys corporate Web site. Web2 is a test server that contains a copy of the Web site.Users connect to Web1 by using the URL http://www.contoso.com.A Web developer named User1 plans to test updates to the Web site on Web2.You need to ensure that User1 connects to Web2 by using the URL http://www.contoso.com. The solution must ensure that all other computers connect to Web1.What should you do?()

    • A、From User1s computer, create a record in the Hosts file.
    • B、From User1s computer, create a record in the Lmhosts file.
    • C、From a DNS server, create a new Host (A) resource record.
    • D、From a DNS server, create a new Alias (CNAME) resource record.

    正确答案:A

  • 第6题:

    单选题
    You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()
    A

    Enable WebDAV.

    B

    Enable Server Side Includes.

    C

    Configure both Web sites to use different IP addresses.

    D

    Configure both Web sites to use different application pools.


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

  • 第7题:

    单选题
    Your network contains two Web servers named Web1 and Web2. Web1 hosts the companys corporate Web site. Web2 is a test server that contains a copy of the Web site.Users connect to Web1 by using the URL http://www.contoso.com.A Web developer named User1 plans to test updates to the Web site on Web2.You need to ensure that User1 connects to Web2 by using the URL http://www.contoso.com. The solution must ensure that all other computers connect to Web1.What should you do?()
    A

    From User1s computer, create a record in the Hosts file.

    B

    From User1s computer, create a record in the Lmhosts file.

    C

    From a DNS server, create a new Host (A) resource record.

    D

    From a DNS server, create a new Alias (CNAME) resource record.


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

  • 第8题:

    单选题
    You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()
    A

    Enable WebDAV.

    B

    Enable Server Side Includes.

    C

    Configure both Web sites to use different IP addresses.

    D

    Configure both Web sites to use different application pools.


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

  • 第9题:

    单选题
    A developer has used this code within a servlet: 62.if(request.isUserInRole("vip")) { 63.// VIP-related logic here 64.} What else must the developer do to ensure that the intended security goal is achieved?()
    A

    Create a user called vip in the security realm

    B

    Define a group within the security realm and call it vip

    C

    Define a security-role named vip in the deployment descriptor

    D

    Declare a security-role-ref for vip in the deployment descripto


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

  • 第10题:

    多选题
    You work as an ASP.NET Web Application Developer for SomeCompany.  The company uses Visual Studio .NET 2010 as its application development platform.You create an ASP.NET Web site using .NET Framework 4.0. Only registered users of the company will be able to use the application. The application holds a page named UserAccount.aspx that enables new users to register them to the registered users„ list of the company. The UserAccount page hold numerous TextBox controls that accept users personal details, such as user name, password, home address, zipcode, phone number, etc.  One of the TextBox controls on the page is named ZipCode in which a user enters a zip code.  You must ensure that when a user submits the UserAccount page, ZipCode must contain five numeric digits.  What will you do to accomplish this?()
    A

    Use RangeValidator.

    B

    Use RegularExpressionValidator

    C

    Use RequiredValidator

    D

    Use CompareValidator

    E

    Use RequiredFieldValidator


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

  • 第11题:

    单选题
    A developer is designing a web application that must verify for each request: The originating request is froma trusted network. The client has a valid session.The client has been authenticated. Which design pattern provides a solution in this situation?()
    A

    Transfer Object

    B

    Session Facade

    C

    Intercepting Filter

    D

    Template Method

    E

    Model-View-Controller


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

  • 第12题:

    单选题
    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 Squeaky business 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 new system.  Which pattern can the developer use to solve this problem?()
    A

     Transfer Object

    B

     Service Locator

    C

     Intercepting Filter

    D

     Business Delegate


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

  • 第13题:

    Which the statement is true about web container session management()?

    • A、 Access to session-scoped attributes is guaranteed to be thread-safe by the web container.
    • B、 To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.
    • C、 If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.
    • D、 The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session.

    正确答案:C

  • 第14题:

    A developer is designing a web application that must support multiple interfaces, including:   • an XML web service for B2B • HTML for web-based clients • WML for wireless customers   Which design pattern provides a solution for this problem?( )

    • A、 Session Façade
    • B、 Business Delegate
    • C、 Data Access Object
    • D、 Model-View-Controller
    • E、 Chain of Responsibility

    正确答案:D

  • 第15题:

    You copy a Web site from a development site to a staging site. You do not have the Web site in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do? ()

    • A、Use the Copy Web tool.
    • B、Create a Web Setup project.
    • C、Use the Publish Web tool.
    • D、Use the command line to XCOPY the files.

    正确答案:A

  • 第16题:

    You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()

    • A、Enable WebDAV.
    • B、Enable Server Side Includes.
    • C、Configure both Web sites to use different IP addresses.
    • D、Configure both Web sites to use different application pools.

    正确答案:C

  • 第17题:

    You work as an ASP.NET Web Application Developer for SomeCompany.  The company uses Visual Studio .NET 2010 as its application development platform.You create an ASP.NET Web site using .NET Framework 4.0. Only registered users of the company will be able to use the application. The application holds a page named UserAccount.aspx that enables new users to register them to the registered users„ list of the company. The UserAccount page hold numerous TextBox controls that accept users personal details, such as user name, password, home address, zipcode, phone number, etc.  One of the TextBox controls on the page is named ZipCode in which a user enters a zip code.  You must ensure that when a user submits the UserAccount page, ZipCode must contain five numeric digits.  What will you do to accomplish this?()

    • A、Use RangeValidator.
    • B、Use RegularExpressionValidator
    • C、Use RequiredValidator
    • D、Use CompareValidator
    • E、Use RequiredFieldValidator

    正确答案:B,E

  • 第18题:

    多选题
    An RPC/encoded Web service experiences poor performance at high message volumes. What can a developer do to improve this performance?()
    A

    Turn off marshalling

    B

    Use binary encoding

    C

    Use RPC/literal encoding

    D

    Use document/literal encoding

    E

    Redesign to use more granular messaging


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

  • 第19题:

    单选题
    Which statement is true about web container session management?()
    A

    Access to session-scoped attributes is guaranteed to be thread-safe by the web container.

    B

    To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.

    C

    If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.

    D

    The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session.


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

  • 第20题:

    单选题
    A developer for the Company.com web site has been told that users may turn off cookie support in their browsers. What must the developer do to ensure that these customers can still use the web application?()
    A

     The developer must ensure that every URL is properly encoded using the appropriate URL rewriting APIs

    B

     The developer must provide an alternate mechanism for managing sessions and abandon theHttpSession mechanism entirely

    C

     The developer can ignore this issue. Web containers are required to support automatic URL rewriting when cookies are not supported

    D

     The developer must ass the string ?id= to the end of every URL to ensure that the conversion with the browser can continue.


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

  • 第21题:

    单选题
    You are the desktop administrator for your company. Your company’s software developers use Windows XP Professional and IIS on their client computers to develop Web-based applications. All client computers use Microsoft Internet Explorer 6. 0 or later as their Web browser. One of the developers reports that he can no longer access the Web-based application on his desktop by using his Web browser. When you attempt to access the application by using your Web browser, you receive the following error message: “Cannot find server or DNS Error.” You verify that the World Wide Web Publishing Service is started on the developer’s computer. You also verify that you are using the correct URL to access the developer’s computer by using your Web browser. You need to ensure that the developer can access the Web application by using his Web browser. How should you configure the developer’s computer?()
    A

    Start the default Web site.

    B

    Start the IIS Admin Service.

    C

    Run the IPconfig /registerdns command.

    D

    In the default Web site properties,disable the host header setting.


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

  • 第22题:

    单选题
    A developer is designing a web application that must support multiple interfaces, including: an XML web service for B2B HTML for web-based clients WML for wireless customers. Which designpattern provides a solution for this problem?()
    A

    Session Facade

    B

    Business Delegate

    C

    Data Access Object

    D

    Model-View-Controller

    E

    Chain of Responsibility


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

  • 第23题:

    单选题
    A developer is designing a web application that must support multiple interfaces, including:   • an XML web service for B2B • HTML for web-based clients • WML for wireless customers   Which design pattern provides a solution for this problem?( )
    A

     Session Façade

    B

     Business Delegate

    C

     Data Access Object

    D

     Model-View-Controller

    E

     Chain of Responsibility


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

  • 第24题:

    单选题
    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?()
    A

    Transfer Object

    B

    Service Locator

    C

    Intercepting Filter

    D

    Business Delegate


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