310-083 試験問題を無料オンラインアクセス

試験コード:310-083
試験名称:Sun Certified Web Component Developer for J2EE 5
認定資格:SUN
無料問題数:276
更新日:2026-05-24
評価
100%

問題 1

Given:
1 . <% int[] nums = {42,420,4200};
2 . request.setAttribute("foo", nums); %>
3 . ${5 + 3 lt 6}
4 . ${requestScope['foo'][0] ne 10 div 0}
5 . ${10 div 0}
What is the result?

問題 2

Click the Exhibit button. Given the web application deployment descriptor elements:
1 1. <filter>
1 2. <filter-name>ParamAdder</filter-name>
1 3. <filter-class>com.example.ParamAdder</filter-class>
1 4. </filter>
...
3 1. <filter-mapping>
3 2. <filter-name>ParamAdder</filter-name>
3 3. <servlet-name>Destination</servlet-name>
3 4. </filter-mapping>
...
5 5. <servlet-mapping>
5 6. <servlet-name>Destination</servlet-name>
5 7. <url-pattern>/dest/Destination</url-pattern>
5 8. </servlet-mapping>
What is the result of a client request of the Source servlet with no query string?

問題 3

Given a JSP page:
1 1. <n:recurse>
1 2. <n:recurse>
1 3. <n:recurse>
1 4. <n:recurse />
1 5. </n:recurse>
1 6. </n:recurse>
1 7. </n:recurse>
The tag handler for n:recurse extends SimpleTagSupport.
Assuming an n:recurse tag can either contain an empty body or another n:recurse tag, which strategy allows the tag handler for n:recurse to output the nesting depth of the deepest n:recurse tag?

問題 4

Users of your web application have requested that they should be able to set the duration of their sessions. So for example, one user might want a webapp to stay connected for an hour rather than the webapp's default of fifteen minutes; another user might want to stay connected for a whole day.
Furthermore, you have a special login servlet that performs user authentication and retrieves the User object from the database. You want to augment this code to set up the user's specified session duration.
Which code snippet in the login servlet will accomplish this goal?

問題 5

Which two are true regarding a web application class loader? (Choose two.)

コメントを追加

あなたのメールアドレスが公開されることはありません。個人情報に関する内容は隠されます *

insert code
画面にある文字を入力してください。