Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Include" Watch "Include" New topic


NDP Prasad
Ranch Hand

Joined: Apr 13, 2006
Posts: 177
what is the difference between the
<%@ include file="links.html" %>
<%@ include page="links.jsp" %>

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

There is no <%@ include page="links.jsp" %>.
You may be mistaking it with the <jsp:include> standard action.
<jsp:include page="links.jsp/>

Please refer to the FAQ :

[My Blog]
All roads lead to JavaRanch
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9763


I guess you are talking about the jsp:include and as Satou mentioned in his post above, there is nothing called a <%@ include page...%> Think of using page as a translated one and file as a raw one without translation.

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
I agree. Here's the link:
subject: Include