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

Another include question

 
Andy Wong
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between <jsp:include> and <jsp irective.include> since both include a file at request time?
 
Tom Adams
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually <jsp:directive.include file= />
is the xml version of
<%@ include file= %>
So, the contents of this file is included at translation time, not runtime.
<jsp:include page= /> is the runtime include...
[ March 17, 2003: Message edited by: Tom Adams ]
[ March 17, 2003: Message edited by: Tom Adams ]
 
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!