This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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 Introducing JavaFX 8 Programming this week in the JavaFX 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
I agree. Here's the link:
subject: include and forward
It's not a secret anymore!