This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes include and forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "include and forward" Watch "include and forward" New topic

include and forward

Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
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>

SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
Steve Hicks

Joined: Sep 22, 2005
Posts: 20
<jsp:forward> clears buffer before call - U get an IllegalStateException if call out.flush() before forward

SCJP 1.4, SCWCD 1.4
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: include and forward
jQuery in Action, 3rd edition