in the subdirectory /WEB-INF/ctxl
in the subdirectory /META-INF/ctxl
in the subdirectory /ctxl in the root of the archive
in the subdirectory /ctxl/resource in the root of the archive
in the root of the archive
第1题:
Given an Http Session session. A Servlet Request request. And a Servlet Context context. Which retrieves a URL to /WEB INF/ my config.xml within a web application?()
第2题:
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web application using .NET Framework 4.0. The application holds a Web page named MyHome.aspx. You are creating a button with a rolloverimage on MyHome.aspx. However, when mouse hovered over the button image, the rolloverimage is retrieved from the server in a separate request. You need to use an improved rollover button in which the button„s rolloverimage is already downloaded and stored in the browser’s cache, as a result when you hover over the button, it is instantly displayed. What will you do to accomplish this?()
第3题:
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?()
第4题:
You have a server named Server1 that runs Windows Server 2003 Web Edition Service Pack 2 (SP2). You create a new virtual directory named App1. App1 contains a Web application. Users report that when they enter http://app1 in their Web browsers, they are unable to connect to the Web application. You need to ensure that users can access the Web application when they connect to http://app1. What should you do? ()
第5题:
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?()
第6题:
Add a second IP address.
Configure request filtering.
Create separate application pools.
Add worker processes to the DefaultAppPool.
第7题:
Store the data in a public instance variable in the servlet.
Add an attribute to the request object before using the request dispatcher.
Add an attribute to the context object before using the request dispatcher.
This CANNOT be done as the tag handler has no means to extract this data.
第8题:
Run the IPconfig /renew command.
Stop and then restart the World Wide Web Publishing service.
Ensure that the Everyone group has Allow - Full Control permission on the Inetpub folder.
In the properties of the Local Area Connection connection, allow a Windows Firewall exception for port 80.
第9题:
Move the content of the Web application to C:/App1. Change the home directory for App1.
Move the content of the Web application to C:/App1. Change the application pool for App1.
Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use port 8080. In DNS, create a Host record for App1.
Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use a host header of App1. In DNS, create a Host record for App1.
第10题:
At the command prompt on the server, run the appcmd add site command.
At the command prompt on the server, run the appcmd add vdir command.
Select the Web site from the Internet Information Services (IIS) Manager console. Select Add Application.
Select the Web site from the Internet Information Services (IIS) Manager console. Select Add Virtual Directory.
第11题:
Modify the application settings by using the Web Site Administration Tool.
Modify the application settings by using the Visual Studio property page editor for the project.
Modify the application settings by using the resource editor.
Modify the application settings by using the Visual Studio start options editor.
第12题:
in the subdirectory /WEB-INF/ctxl
in the subdirectory /META-INF/ctxl
in the subdirectory /ctxl in the root of the archive
in the subdirectory /ctxl/resource in the root of the archive
in the root of the archive
第13题:
Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated by the servlet to the JSP;furthermore, that JSP uses a custom tag and must also process this information. This information mustNOT be accessible to any other servlet, JSP or session in the webapp. How can you accomplish this goal?()
第14题:
You need to recommend changes to Web1 that meet the company’s application requirements for the WebApp2 deployment. What should you recommend?()
第15题:
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?()
第16题:
You develop a Web application. Your application contains two settings in the Web.config file. You deploy your application to production. You need to modify the application settings in the production environment without manually editing the XML markup in the Web.config file. What should you do? ()
第17题:
You are a help desk technician for your company. Stefan and Irene are software developers for the company. Stefan is developing a Web application on his Windows XP Professional computer. The computer is named Stefan132. All client computers use Microsoft Internet Explorer 6. 0 or later as their Web browser. When Irene types http://Stefan132 in the Address bar of her Web browser, she cannot access the Web application. However, Stefan can access the Web application by typing http://localhost or http://Stefan132 in the Address bar of his Web browser. He can also access resources on the company network. When you run the Ping command on your computer, you cannot connect to Stefan’s computer. When you attempt to access http://Stefan132 from your computer, Internet Explorer displays “DNS or Server Error.” You need to ensure that Irene can access the Web application on Stefan’s computer. First, you establish a Remote Assistance connection to Stefan’s computer. What should you do next on Stefan’s computer?()
第18题:
Enable WebDAV.
Enable Server Side Includes.
Configure both Web sites to use different IP addresses.
Configure both Web sites to use different application pools.
第19题:
Set the Shutdown Executable option to True.
Set the Process Orphaning Enabled option to True.
Set the Disable Overlapped Recycling option to True.
Set the Disable Recycling for Configuration Changes option to True.
第20题:
Simply rename the legacy WAR file as a JAR file and place it in your webapp’s library directory.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, repackage the whole thingas a JAR file, and place that JAR file in your webapp’s library directory.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to thetop-level directory, repackage the whole thing as a JAR file, and place that JAR file in your webapp’slibrary directory.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to the top-level directory, repackage the WAR, and place that WAR file in your webapp’s WEB-INF directory.
第21题:
Enable WebDAV.
Enable Server Side Includes.
Configure both Web sites to use different IP addresses.
Configure both Web sites to use different application pools.
第22题:
Disable the Index this resource option.
Disable the Directory browsing option.
Disable the Enable HTTP Keep-Alives option.
Disable the Enable default content page option.
第23题:
a new application
a resource partner
an account partner
an organization claim
第24题:
session.get Resource (“/WEB-INF/myconfig.xml”)
request.get Resource (“/WEB-INF/myconfig.xml”)
context.get Resource (“/WEB-INF/myconfig.xml”)
get Class ().get Resource (“/WEB-INF/myconfig.xml”)