Which statements concerning JSPs are true?
Both jspInit() and jspDestroy can be overridden
Only jspInit() can be overridden
Only jspDestroy() can be overridden
Only _jspService can be overridden
Which statements about disabling scripting elements are true?
You can only disable scripting at the application level
You can disable scripting via DD by using element
You can disable scripting via DD
You can disable scripting programmatically by using the isScriptingEnabled page directive attribute
Which is true about tag files
A tag file may be placed in any subdirectory of WEB-INF
A tag file may NOT be placed in a JAR file in the WEB-INF/lib directory
A tag file must have the file extension of .tag or .tagx
A TLD file must be used to map the symbolic tag name to the actual tag file
Which is the most efficient JspContext method to call to access an attribute that is known to be in application scope?
getPageContext()
findAttribute(String)
getAttribute(String, int)
getAttribute(String)
Which returns the enclosing tag when called from within a tag handler class?
getParent()
getAncestor()
findAncestor()
findParent()
Which HttpServletRequest method is most closely associated with the use of the element
isUserInRole
getUserPrincipal
getCookies
getHeader
Which authentication types require a specific type of HTML action?
HTTP Basic Authentication
Form Based Authentication
HTTP Digest based Authentication
HTTPS Client Authentication
Given in a JSP page, the line:
Hello World
out.print("Hello World");
No output is generated by this line
"Hello World"
This statement describes the potential benefit of a design pattern: The pattern reduces network rountrips between a client and an Enterprise Bean and gives the client a local copy of the data encapsulated by an Enterprise Bean after a single method call, instead of requiring several method calls. Which design pattern is being described?
Model -View-Controller
Business Delegate
Transfer Object
Intercepting filter
Which method exist in HttpServlet?
doGet
doTrace
doOptions
doError