The developer must ensure that every URL is properly encoded using the appropriate URL rewriting APIs
The developer must provide an alternate mechanism for managing sessions and abandon theHttpSession mechanism entirely
The developer can ignore this issue. Web containers are required to support automatic URL rewriting when cookies are not supported
The developer must ass the string ?id=
第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?()
第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?()
第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?()
第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?()
第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?()
第6题:
Enable WebDAV.
Enable Server Side Includes.
Configure both Web sites to use different IP addresses.
Configure both Web sites to use different application pools.
第7题:
From User1s computer, create a record in the Hosts file.
From User1s computer, create a record in the Lmhosts file.
From a DNS server, create a new Host (A) resource record.
From a DNS server, create a new Alias (CNAME) resource record.
第8题:
Enable WebDAV.
Enable Server Side Includes.
Configure both Web sites to use different IP addresses.
Configure both Web sites to use different application pools.
第9题:
Create a user called vip in the security realm
Define a group within the security realm and call it vip
Define a security-role named vip in the deployment descriptor
Declare a security-role-ref for vip in the deployment descripto
第10题:
Use RangeValidator.
Use RegularExpressionValidator
Use RequiredValidator
Use CompareValidator
Use RequiredFieldValidator
第11题:
Transfer Object
Session Facade
Intercepting Filter
Template Method
Model-View-Controller
第12题:
Transfer Object
Service Locator
Intercepting Filter
Business Delegate
第13题:
Which the statement is true about web container session management()?
第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?( )
第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? ()
第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?()
第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?()
第18题:
Turn off marshalling
Use binary encoding
Use RPC/literal encoding
Use document/literal encoding
Redesign to use more granular messaging
第19题:
Access to session-scoped attributes is guaranteed to be thread-safe by the web container.
To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.
If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.
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.
第20题:
The developer must ensure that every URL is properly encoded using the appropriate URL rewriting APIs
The developer must provide an alternate mechanism for managing sessions and abandon theHttpSession mechanism entirely
The developer can ignore this issue. Web containers are required to support automatic URL rewriting when cookies are not supported
The developer must ass the string ?id=
第21题:
Start the default Web site.
Start the IIS Admin Service.
Run the IPconfig /registerdns command.
In the default Web site properties,disable the host header setting.
第22题:
Session Facade
Business Delegate
Data Access Object
Model-View-Controller
Chain of Responsibility
第23题:
Session Façade
Business Delegate
Data Access Object
Model-View-Controller
Chain of Responsibility
第24题:
Transfer Object
Service Locator
Intercepting Filter
Business Delegate