• Post Reply Bookmark Topic Watch Topic
  • New Topic

When jsp:include and include directive are different?  RSS feed

 
Inocencio Oliveira
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks!

I wonder to get the point when there are different (about results). I created three files to represents each both situations (a include directive page, a jsp:include directive page and a page to be imported).

Content to be imported


Include directive


jsp:include page


Both pages behavior are the same, but I was thinking that in a include directive situation the content will just be displayed once, and if try to refresh the browser the Date displayed are the same from the old refreshing, but I noticed that the content is updated each refresh. I really don´t know when the pages behavior will be different.

Thanks all and sorry about my leak english!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65899
135
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the JSP FAQ.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!