• Post Reply Bookmark Topic Watch Topic
  • New Topic

include directive vs jsp:include  RSS feed

 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Which is better of the two..?

Regards
 
vidya sagar
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Static content means go for include directive and including of content takes only once and at Translation time.
Dynamic content means go for jsp:include and including of content takes for every request.

Hope now you can decide upon which is better
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Neither is better than the other. Each is suited to different situations. Please read the JSP FAQ for more details.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!