aspose file tools*
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
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "include and forward" Watch "include and forward" New topic
Author

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
Greenhorn

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: include and forward