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

Difference between Include Directive and Include Action

 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can any body tell me the exact difference between include directive and include action?


Thanks in advance.
 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
include directive - happens during translation (static content)
include action - happens at run time (dynamic content also can be included)
 
Vinoth kumar Gajapathy
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
include directive - happens in Compilation Time its called as Static Type
those include Data are stored in same file (jsp)or .class

include action - happens at run time this is called as dynamic Include type those include data are Stored in another Jsp or .class File so if any variable include by this type cannt access by global
 
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!