nerdexam
IBM

C2050-725 · Question #64

To prevent strange DynaCache behavior when using JSTL tags, which one of the following is the proper way to use the <c:import> tag?

The correct answer is A. <% out.flush(); %>. See the full explanation below for the reasoning.

Question

To prevent strange DynaCache behavior when using JSTL tags, which one of the following is the proper way to use the <c:import> tag?

Options

  • A<% out.flush(); %>
  • B<% JSPHelper.setUncacheable(req,true); %>
  • C<% ((ServletCacheResponse)response).setDoNotConsume(true); %>
  • D<% JSPHelper.flush(); %>

How the community answered

(29 responses)
  • A
    72% (21)
  • B
    3% (1)
  • C
    17% (5)
  • D
    7% (2)

Community Discussion

No community discussion yet for this question.

Full C2050-725 Practice