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 Include 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" 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: 10031


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
It's not a secret anymore!