• Post Reply Bookmark Topic Watch Topic
  • New Topic

include directive

 
agus santosa
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between:
<jsp irective.include file="blah.jsp"/>
and
<jsp:include page="blah.jsp"/>

Thx.
 
elhajjar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<jsp irective.include file="blah.jsp"/>
equivalent to <%@ include file="blah.jsp"/>
Inclusion is static. Included at translation time.
and this
<jsp:include page="blah.jsp"/>
Incllusion is dynamic, at request time (every request).
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!