This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Consider Paul's rocket mass heater.
subject: jsp:include file
Similar Threads
web components certification question
Small doubt with include
Jsp include directive and include jsp action differences
Question on performance with <jsp:include standard action
Static include vs Dynamic include in JSP