单项选择题
You are building a web application that will be used throughout the European Union; therefore, it has significant internationalization requirements. You have been tasked to create a custom tag that generates amessage using the java.text.MessageFormat class. The tag will take the resourceKey attribute and a variable number of argument attributes with the format, arg
Which Simple tag class definition accomplishes this goal of handling a variable number of tag attributes?()
A.
B.
C.
D.
相关考题
-
单项选择题
Click the Exhibit button. The attribute "name" has a value of "Foo," What is the result if this tag handler’s tag is invoked?()
A.Foo
B.done
C.Foodone
D.An exception is thrown at runtime
E.No output is produced from this code
F.Compilation fails because of an error in this code -
单项选择题
You have created a JSP that includes instance variables and a great deal of scriptlet code. Unfortunately,after extensive load testing, you have discovered several race conditions in your JSP scriptlet code. To fixthese problems would require significant recoding, but you are already behind schedule. Which JSP codesnippet can you use to resolve these concurrency problems?()
A.<%@ page isThreadSafe=’false’ %>
B.<%@ implements SingleThreadModel %>
C.<%! implements SingleThreadModel %>
D.<%@ page useSingleThreadModel=’true’ %>
E.<%@ page implements=’SingleThreadModel’ %> -
单项选择题
WhichimplicitobjectisusedinaJSPpagetoretrievevaluesassociatedwithentriesinthedeploymentdescriptor?()
A.Config
B.Request
C.Session
D.Application
