可学答题网 > 问答 > SCWCD(310-083)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You web application us


You web application uses a lot of Java enumerated types in the domain model of the application. Built intoeach enum type is a method, getDisplay(), which returns a localized, user-oriented string. There are manyuses for presenting enums within the web application, so your manager has asked you to create a customtag that iterates over the set of enum values and processes the body of the tag once for each value; settingthe value into a page- scoped attribute called, enumValue. Here is an example of how this tag is used: 10.<select name=’season’> 11.<t:everyEnum type=’com.example.Season’> 12.<option value=’${enumValue}’>${enumValue.display}</option> 13.</t:everyEnum> 14.</select> You have decided to use the Simple tag model to create this tag handler. Which tag handler method willaccomplish this goal?()

  • A
  • B
  • C
  • D
参考答案
参考解析:
分类:SCWCD(310-083)题库
相关推荐

1、You create a Web 

You&ensp;create&ensp;a&ensp;Web&ensp;page&ensp;that&ensp;contains&ensp;the&ensp;following&ensp;two&ensp;XML&ensp;fragments.&ensp;(Line&ensp;numbers&ensp;are&ensp;inc...

2、You deploy applications&ens

You&ensp;deploy&ensp;applications&ensp;by&ensp;using&ensp;the&ensp;Microsoft&ensp;Application&ensp;Virtualization&ensp;(App-V)&ensp;Full&ensp;Infrastructure&ensp;M...

3、Your web application u

Your&ensp;web&ensp;application&ensp;uses&ensp;a&ensp;simple&ensp;architecture&ensp;in&ensp;which&ensp;servlets&ensp;handle&ensp;requests&ensp;and&ensp;then&ensp;forw...

4、Your web application r

Your&ensp;web&ensp;application&ensp;requires&ensp;the&ensp;ability&ensp;to&ensp;load&ensp;and&ensp;remove&ensp;web&ensp;files&ensp;dynamically&ensp;to&ensp;the&ensp;...

5、A web application allo

A&ensp;web&ensp;application&ensp;allows&ensp;the&ensp;HTML&ensp;title&ensp;banner&ensp;to&ensp;be&ensp;set&ensp;using&ensp;a&ensp;servlet&ensp;context&ensp;initializ...

6、Your web application v

Your&ensp;web&ensp;application&ensp;views&ensp;all&ensp;have&ensp;the&ensp;same&ensp;header,&ensp;which&ensp;includes&ensp;the&ensp;<title>&ensp;tag&ensp;in&ensp;th...