Which element, defined as a child of a element in the web application deployment descriptor, guarantees a servlet will be initialized at the time the application is deployed?()
Which defines the welcome files in a web application deployment descriptor?()
In which two locations can library dependencies be defined for a web application? ()
In which three directories, relative to a web application’s root, may a tag library descriptor file reside whendeployed directly into a web application?()
Given an HttpSession session,a ServletRequest request,and a ServletContext context,which retrieves aURL to /WEB-INF/myconfig.xml within a web application?()
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do?()
In your web application,you need to execute a block of code whenever the session object is first created. Which design will accomplish this goal?()
Given that www.example.com/SCWCDtestApp is a validly deployed Java EE web application and that all ofthe JSP files specified in the requests below exist in the locations specified. Which two requests,issuedfrom a browser,will return an HTTP 404 error?()
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?()
Which two security mechanisms can be directed through a sub-element of the element in a web application deployment descriptor?()
A web application allows the HTML title banner to be set using a servlet context initialization parametercalled titleStr. Which two properly set the title in this scenario?()
You want to create a valid directory structure for your Java EE web application, and your application usestag files and a JAR file. Which three must be located directly in your WEB-INF directory(NOT in asubdirectory of WEB-INF)?()
You are deploying an ASP.NET Web application to a remote server. You need to choose a deployment method that will ensure that all IIS settings, in addition to the Web content, will deploy to the remote server. Which deployment method should you choose?()
You create a Web application. You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending. Which two actions should you perform? ()
You develop a Web application that contains two master pages. You need to dynamically set the master page when a user views pages in the application. What should you do? ()
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 customer claims that while redeploying a web application in the production system all their customers are having to log in again. What do you recommend? ()
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?()
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?()
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()
Given a web application in which the request parameter productID contains a product identifier. Which twoEL expressions evaluate the value of the productID?()
In which three directories, relative to a web application’s root, may a tag library descriptor file reside when deployed directly into a web application?()
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file.What should you do?()
You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application‘s root directory. Users must not be able to navigate directly to these files in a Web browser unless they are members of the Accounting role. You need to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class.Which form of authentication should you use?()