310-083 무료 덤프문제 온라인 액세스
| 시험코드: | 310-083 |
| 시험이름: | Sun Certified Web Component Developer for J2EE 5 |
| 인증사: | SUN |
| 무료 덤프 문항수: | 276 |
| 업로드 날짜: | 2026-10-09 |
You web application uses a lot of Java enumerated types in the domain model of the application. Built into each enum type is a method, getDisplay(), which returns a localized, user-oriented string. There are many uses for presenting enums within the web application, so your manager has asked you to create a custom tag that iterates over the set of enum values and processes the body of the tag once for each value; setting the value into a page-scoped attribute called, enumValue. Here is an example of how this tag is used:
1 0. <select name='season'>
1 1. <t:everyEnum type='com.example.Season'>
1 2. <option value='${enumValue}'>${enumValue.display}</option>
1 3. </t:everyEnum>
1 4. </select>
You have decided to use the Simple tag model to create this tag handler.
Which tag handler method will accomplish this goal?
After a merger with another small business, your company has inherited a legacy WAR file but the original source files were lost. After reading the documentation of that web application, you discover that the WAR file contains a useful tag library that you want to reuse in your own webapp packaged as a WAR file.
What do you need to do to reuse this tag library?
You are creating a new JSP page and you need to execute some code that acts when the page is first executed, but only once. Which three are possible mechanisms for performing this initialization code? (Choose three.)