Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

include and forward

 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

Which JSP tag transfers the processing completely to another resource such that the output does NOT include any output specified in the original JSP?

1- <jsp:forward>
2- <jsp aram>
3- <%@ reponse.sendRedirect %>
4- <jsp:include>
5- <jsp:setProperty>

 
Steve Hicks
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<jsp:forward> clears buffer before call - U get an IllegalStateException if call out.flush() before forward
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic