wood burning stoves 2.0*
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
Author

Include

NDP Prasad
Ranch Hand

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


SCJP,SCWCD<br />
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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 :
http://faq.javaranch.com/view?IncludesActionDirective


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

Joined: Sep 26, 2006
Posts: 9513
    
    2

Prasad,

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: http://aspose.com/file-tools
 
subject: Include