This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

include directive and action  RSS feed

 
S Babs
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the significant difference
include Directive (<%@ ... %>
AND
include Action (<jsp:include /> ?
very urgent....
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Posts: 12143
255
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A directive is evaluated at compile time. The action is evaluated when the request is being processed.
So the directive is used for static items (e.g. copyright notices), the action is used for non static items (e.g. current news reports)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!