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

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

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

第1题:

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

第2题:

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

第3题:

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

第4题:

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

第5题:

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

第6题:

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

第7题:

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

第8题:

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

正确答案:D

第9题:

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

第10题:

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

更多相关问题