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. Here is an example use of this tag and itsoutput: generates: The disk "MyDisk"contains 1247 file(s). Which Simple tag class definition accomplishes this goal of handling a variable number of tag attributes?()
有疑问?点此联系我们
收藏该题
查看答案