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)- A72% (21)
- B3% (1)
- C17% (5)
- D7% (2)
Community Discussion
No community discussion yet for this question.