File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jsp:include file 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 "jsp:include file" Watch "jsp:include file" New topic

jsp:include file

Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
Which of these is true about include directive. Select the one correct answer.
1The included file must have jspf extension.
2The XML syntax of include directive in <jsp:include file="fileName"/> .
3The content of file included using include directive, cannot refer to variables local to the original page.
4When using the include directive, the JSP container treats the file to be included as if it was part of the original file.

k space
Ranch Hand

Joined: Jun 25, 2002
Posts: 104
Only option 4 is correct.

SCEA | SCBCD | SCWCD | SCJP - The kSpace
I agree. Here's the link:
subject: jsp:include file
jQuery in Action, 3rd edition