Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Include

 
NDP Prasad
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the difference between the
<%@ include file="links.html" %>
<%@ include page="links.jsp" %>
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!