当前位置:SCWCD(310-083)题库

问题:

[单选]
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 .

《中国共产党廉洁自律准则》的“四个必须”中有一个是“必须自觉提升思想道德境界”。 清水墙面勾缝污染的原因是()。 墙面没浇水润湿。 没有开补砖缝。 托灰板接触墙面。 勾缝溜子太大。。 DNS是基于对等模式的服务系统。 脊椎动物的视觉中心是()。 解理
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?()
参考答案:

  参考解析

本题暂无解析

在线 客服