310-083 試験問題を無料オンラインアクセス
| 試験コード: | 310-083 |
| 試験名称: | Sun Certified Web Component Developer for J2EE 5 |
| 認定資格: | SUN |
| 無料問題数: | 276 |
| 更新日: | 2026-09-06 |
For manageability purposes, you have been told to add a "count" instance variable to a critical JSP Document so that a JMX MBean can track how frequent this JSP is being invoked. Which JSP code snippet must you use to declare this instance variable in the JSP
Document?
Given an HttpServletRequest request:
2 2. String id = request.getParameter("jsessionid");
2 3. // insert code here
2 4. String name = (String) session.getAttribute("name");
Which three can be placed at line 23 to retrieve an existing HttpSession object? (Choose three.)
Your web application views all have the same header, which includes the <title> tag in the
< head> element of the rendered HTML. You have decided to remove this redundant HTML code from your JSPs and put it into a single JSP called /WEB-INF/jsp/header.jsp.
However, the title of each page is unique, so you have decided to use a variable called pageTitle to parameterize this in the header JSP, like this:
10. <title>${param.pageTitle}<title>
Which JSP code snippet should you use in your main view JSPs to insert the header and pass the pageTitle variable?
Click the Exhibit button.
The attribute "name" has a value of "Foo,"
What is the result if this tag handler's tag is invoked?