Which two are true regarding a web application class loader?()
第1题:
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?()
第2题:
Which the statement is true about web container session management()?
第3题:
Which the two about WAR files are true?()
第4题:
Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A’s web application. In which object can the data that A shares with B be stored?()
第5题:
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?()
第6题:
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?()
第7题:
Create a single Web site that contains both Web applications.
Create two Web sites, one for each Web application.
Assign both Web applications to the same application pool.
Assign each Web application to its own application pool.
第8题:
/WEB-INF
/META-INF
/WEB-INF/tlds
/META-INF/tlds
WEB-INF/resources
/META-INF/resources
第9题:
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.
第10题:
A web application may override the web container’s implementation classes.
A web application running in a J2EE product may override classes in the javax.* namespace.
A web application class loader may NOT override any classes in the java.* and javax.* namespaces.
Resources in the WAR class directory or in any of the JAR files within the library directory may be accessed using the J2SE semantics of getResource.
第11题:
<class><br/>
<webapp><br/>
<servlet><br/>
<codebase><br/>
<servlet-class>
第12题:
/WEB-INF
/META-INF
/WEB-INF/tlds
/META-INF/tlds
/WEB-INF/resources
/META-INF/resources
第13题:
In which two web application directories can dependent classes and libraries be located? ()
第14题:
Your web application requires the ability to load and remove web files dynamically to the web container’s filesystem. Which two HTTP methods are used to perform these actions?()
第15题:
In which two locations can library dependencies be defined for a web application? ()
第16题:
You are developing a Web control. The Web control captures user address information in a Web application. You create a class named AddressControl that inherits from CompositeControl. This control consists of child controls.You need to ensure that the child controls are properly output to the browser.Developers using your control must be able to set the appropriate text for labels. In addition, they must be able to pull user address information from the associated text boxes during postback. What should you do?()
第17题:
You are developing a Web control. The Web control captures user address information in a Web application. You create a class named AddressControl that inherits from CompositeControl. This control consists of child controls. You need to ensure that the child controls are properly output to the browser. Developers using your control must be able to set the appropriate text for labels. In addition, they must be able to pull user address information from the associated text boxes during postback. What should you do? ()
第18题:
/conf/web.xml
/WEB-INF/web.xml
/conf/server.xml
/META-INF/web.xml
/WEB-INF/rules.xml
/META-INF/server. Xml
第19题:
the web application deployment descriptor
the /META-INF/dependencies.xml file
the /META-INF/MANIFEST.MF manifest file
the /META-INF/MANIFEST.MF manifest of a JAR in the web application classpath
第20题:
A web application may override the web container’s implementation classes
A web application running in a J2EE product may override classes in the javax.* namespace
A web application class loader may NOT override any classes in the java.* and javax.* namespace
Resources in the WAR class directory or in any of the JAR files within the library directory may be accessed using the J2SE semantics of getResource
Resources in the WAR class directory or in any of the JAR files within the library directory cannot be accessed using the J2SE semantics of getResource
第21题:
/WEB-INF/lib as a JAR file
/META-INF/lib as a JAR file
/classes as compiled class files
/WEB-INF/lib as compiled class files
/WEB-INF/classes as compiled class files
/META-INF/classes as compiled class files
第22题:
PUT
POST
SEND
DELETE
REMOVE
第23题:
HttpSession
ServletConfig
ServletContext
HttpServletRequest
HttpServletResponse