网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
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?()
A

in the subdirectory /WEB-INF/ctxl

B

in the subdirectory /META-INF/ctxl

C

in the subdirectory /ctxl in the root of the archive

D

in the subdirectory /ctxl/resource in the root of the archive

E

in the root of the archive


参考答案

参考解析
解析: 暂无解析
更多 “单选题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?()A in the subdirectory /WEB-INF/ctxlB in the subdirectory /META-INF/ctxlC in the subdirectory /ctxl in the root of the archiveD in the subdirectory /ctxl/resource in the root of the archiveE in the root of the archive” 相关考题
考题 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? ()A. Move the content of the Web application to C:\App1. Change the home directory for App1.B. Move the content of the Web application to C:\App1. Change the application pool for App1.C. 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.D. 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.

考题 You are planning to migrate an existing web application to Windows Azure.  The application consists of an ASP.NET web application and a set of native Win32 Windows Services that provide data to the application by using named pipes. The Windows Services cannot be modified.  You need to recommend a strategy for migrating the application to Windows Azure.  What should you recommend?()A、 Define a Windows CommunicationFoundation (WCF) contract for the services.B、 Deploy each Windows Service to a separate worker role.  Deploy the ASP.NET application to a web role.C、 Deploy the application and Windows Services in a Windows Azure VM role.D、 Upload service binaries to a web role by using the Windows Azure Service Management API.

考题 Which three are described in the standard web application deployment descriptor?()  A、 session configurationB、 MIME type mappingsC、 context root for the applicationD、 servlet instance pool configurationE、 web container default port bindingsF、 ServletContext initialization parameters

考题 Spring IOC容器管理Action的方式()。A、使用org.springframework.web.struts.DelegatingRequestProcessorB、使用org.springframework.web.struts.DelegatingActionProxyC、使用org.springframework.web.context.ContextLoaderListenerD、使用org.springframework.web.context.ContextLoaderServlet

考题 Which three are described in the standard web application deployment descriptor?()A、session configurationB、MIME type mappingsC、context root for the applicationD、servlet instance pool configurationE、web container default port bindingsF、Servlet Context initialization parameters

考题 You have created a web application that you license to real estate brokers. The webapp is highly customizable including the email address of the broker, which is placed on the footer of each page. This isconfigured as a context parameter in the deployment descriptor: 10. 11.footerEmail 12.joe@estates-r-us.biz 13. Which EL code snippet will insert this context parameter into the footer?()A、a href=’mailto:${footerEmail}’Contact me/aB、a href=’mailto:${initParam@footerEmail}’Contact me/aC、a href=’mailto:${initParam.footerEmail}’Contact me/aD、a href=’mailto:${contextParam@footerEmail}’Contact me/aE、a href=’mailto:${contextParam.footerEmail}’Contact me/a

考题 Given an HttpSession session,a ServletRequest request,and a ServletContext context,which retrieves aURL to /WEB-INF/myconfig.xml within a web application?()A、session.getResource("/WEB-INF/myconfig.xml")B、request.getResource("/WEB-INF/myconfig.xml")C、context.getResource("/WEB-INF/myconfig.xml")D、getClass().getResource("/WEB-INF/myconfig.xml")

考题 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?()A、in the subdirectory /WEB-INF/ctxlB、in the subdirectory /META-INF/ctxlC、in the subdirectory /ctxl in the root of the archiveD、in the subdirectory /ctxl/resource in the root of the archiveE、in the root of the archive

考题 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.

考题 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 Web application comprises a class named Employee with properties named as First Name, Last Name, and Age. You add a Web page in which you get a list of Employee objects and display those objects in a GridView control. You are required to add code so that the GridView row is highlighted in red color if the age of the employee is less than 21 years.  What will you do to accomplish this?()A、Use the RowCommand event of the GridView control.B、Use the SelectedlndexChanged event of the GridView control.C、Use the RowDataBound event of the GridView control.D、Use the RowEditing event of the GridView control.E、Use the RowUpdated event of the GridView control.

考题 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? ()A、Move the content of the Web application to C:/App1. Change the home directory for App1.B、Move the content of the Web application to C:/App1. Change the application pool for App1.C、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.D、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.

考题 You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  The configuration below exists in the Web.config file:           Certkiller.com hosts the Web application in Microsoft Internet Information Services (IIS) 6.0. TheIntegrated Windows Authentication is enabled in IIS and anonymous access disabled. The application pool is configured to run as the identity Certkiller/WebApp. The IIS anonymous accountis Certkiller/Anonymous.  The following code exists in the code-behind file for a web form:  stringname = WindowsIdentity.GetCurrent().Name;  Response.Write(name); A Certkiller.com employee named RoryAllen has a domain user account named Certkiller/RAllen.He uses this account to access the page. However, Rory Allen logs in to the Web application withthe user name FormsUser. You need to determine the output of this code when Rory Allenaccesses the page. What will the output of this code be?()A、The output will be FormsUser.B、The output will be Certkiller/RAllen.C、The output will be Certkiller/Anonymous.D、The output will be Certkiller/WebApp

考题 You work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services, and configuring aweb services infrastructure. You manage a server that runs Windows Server 2008. The server hasTerminal Service Web Access (TS Web Access) installed. Several line-of-business applications areavailable on the server by using TS Web Access. You have a new application installed on the server. Youhave to make the application available through TS Web Access. In order to achieve this,What action should you perform?()A、In order to make the application available through TS Web Access, the data source for TS Web Accessshould be specified from the TS Web Access Web site.B、In order to make the application available through TS Web Access, the application should be added to the RemoteApp Programs list from TS RemoteApp Manager.C、In order to make the application available through TS Web Access, the users should be added to the TS Web Access Computers group from the Local Users and Groups snap-in.D、In order to make the application available through TS Web Access, the mstsc.exe command should be run and specify the /v parameter should be specified from the command prompt.

考题 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.

考题 You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a ListBox control named lbxItems that is data-bound to a collection of objects. Each object has a DisplayValue property. You add a Button control to the application. You need to ensure that the Content property of the Button control is data-bound to the DisplayValue property of the selected item of lbxItems. Which binding expression should you use?()A、{ Binding ElementName=lbxItems, Source=SelectedItem, Path=DisplayValue }B、{ Binding Source=lbxItems, ElementName=SelectedItem, Path=DisplayValue }C、{ Binding ElementName=lbxItems, Path=SelectedItem.DisplayValue }D、{ Binding Source=lbxItems, Path=SelectedItem.DisplayValue }

考题 单选题Given an HttpSession session,a ServletRequest request,and a ServletContext context,which retrieves aURL to /WEB-INF/myconfig.xml within a web application?()A session.getResource(/WEB-INF/myconfig.xml)B request.getResource(/WEB-INF/myconfig.xml)C context.getResource(/WEB-INF/myconfig.xml)D getClass().getResource(/WEB-INF/myconfig.xml)

考题 单选题You are planning to migrate an existing web application to Windows Azure.  The application consists of an ASP.NET web application and a set of native Win32 Windows Services that provide data to the application by using named pipes. The Windows Services cannot be modified.  You need to recommend a strategy for migrating the application to Windows Azure.  What should you recommend?()A  Define a Windows CommunicationFoundation (WCF) contract for the services.B  Deploy each Windows Service to a separate worker role.  Deploy the ASP.NET application to a web role.C  Deploy the application and Windows Services in a Windows Azure VM role.D  Upload service binaries to a web role by using the Windows Azure Service Management API.

考题 单选题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?()A  session.get Resource (“/WEB-INF/myconfig.xml”)B  request.get Resource (“/WEB-INF/myconfig.xml”)C  context.get Resource (“/WEB-INF/myconfig.xml”)D  get Class ().get Resource (“/WEB-INF/myconfig.xml”)

考题 多选题Which three are described in the standard web application deployment descriptor?()Asession configurationBMIME type mappingsCcontext root for the applicationDservlet instance pool configurationEweb container default port bindingsFServlet Context initialization parameters

考题 单选题In a JSP-centric web application, you need to create a catalog browsing JSP page. The catalog is stored asa List object in the catalog attribute of the webapp’s ServletContext object.  Which scriptlet code snippetgives you access to the catalog object?()A % List catalog = config.getAttribute(catalog); %B % List catalog = context.getAttribute(catalog); %C % List catalog = application.getAttribute(catalog); %D % List catalog = servletContext.getAttribute(catalog); %

考题 单选题You manage a server that runs Windows Server 2008. The server has the Web Server (IIS) role installed. The Web developer at your company creates a new Web site that runs an ASP.NET 3.0 Web application.  The ASP.NET Web application must run under a security context that is separate from any other ASP.NET application on the Web server.  You create a local user account and grant account rights and permissions to run the ASP.NET Web application.  You need to configure authentication for the new Web site to support the Web application. What should you do?()A Configure the Windows Authentication setting to Enabled.B Configure the Forms Authentication setting to Enabled by using all the default settings.C Configure the ASP.NET State service to log on to the new local user account by using the Services console.D Configure the ASP.NET Impersonation setting to Enabled. Edit the ASP.NET Impersonation setting by specifying the new local user account.

考题 单选题After a merger with another small business, your company has inherited a legacy WAR file but the originalsource files were lost. After reading the documentation of that web application,you discover that the WARfile contains a useful tag library that you want to reuse in your own webapp packaged as a WAR file. What do you need to do to reuse this tag library?()A Simply rename the legacy WAR file as a JAR file and place it in your webapp’s library directory.B 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.C 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.D Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to thetop-level directory, repackage the WAR, and place that WAR file in your webapp’s WEB-INF directory.

考题 单选题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?()A Store the data in a public instance variable in the servlet.B Add an attribute to the request object before using the request dispatcher.C Add an attribute to the context object before using the request dispatcher.D This CANNOT be done as the tag handler has no means to extract this data.

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

考题 单选题You need to recommend changes to Web1 that meet the company’s application requirements for the WebApp2 deployment.   What should you recommend?()A Add a second IP address.B Configure request filtering.C Create separate application pools.D Add worker processes to the DefaultAppPool.

考题 单选题You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  The configuration below exists in the Web.config file:           Certkiller.com hosts the Web application in Microsoft Internet Information Services (IIS) 6.0. TheIntegrated Windows Authentication is enabled in IIS and anonymous access disabled. The application pool is configured to run as the identity Certkiller/WebApp. The IIS anonymous accountis Certkiller/Anonymous.  The following code exists in the code-behind file for a web form:  stringname = WindowsIdentity.GetCurrent().Name;  Response.Write(name); A Certkiller.com employee named RoryAllen has a domain user account named Certkiller/RAllen.He uses this account to access the page. However, Rory Allen logs in to the Web application withthe user name FormsUser. You need to determine the output of this code when Rory Allenaccesses the page. What will the output of this code be?()A The output will be FormsUser.B The output will be Certkiller/RAllen.C The output will be Certkiller/Anonymous.D The output will be Certkiller/WebApp

考题 单选题You have created a web application that you license to real estate brokers. The webapp is highly customizable including the email address of the broker, which is placed on the footer of each page. This isconfigured as a context parameter in the deployment descriptor: 10. 11.footerEmail 12.joe@estates-r-us.biz 13. Which EL code snippet will insert this context parameter into the footer?()A a href=’mailto:${footerEmail}’Contact me/aB a href=’mailto:${initParam@footerEmail}’Contact me/aC a href=’mailto:${initParam.footerEmail}’Contact me/aD a href=’mailto:${contextParam@footerEmail}’Contact me/aE a href=’mailto:${contextParam.footerEmail}’Contact me/a