Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock Exam Question

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This one is from J2EE certificate,

Given that the current JSP page is buffered, which of the following correctly defined actions will flush of the buffer before processing the specified resource? [Select all correct answers]
1<jsp:include page="warning.html" />
2<jsp:include page="warning.html" flush="false" />
3<jsp:include page="warning.html" flush="true" />
4<jsp:forward page="warning.html" />
5<jsp:forward page="warning.html" flush="true" />

What is the answer?
 
Ashwin Kumar
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
3 & 4 are correct answers because there is no flush attribute for forward attribute.
 
Mirko Bonasorte
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I don't agree. CLEARS the buffer before che action. Instead, the right choice should be only 3.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic