• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:include vs pageContext.include()

 
Deepak Mahbubani
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a difference between jsp:include and pageContext.include() ?
I read this somewhere....
"pageContext.include() and
<jsp:include../>
are methods for dynamically including files. pageContext includes jsp files only versus <jsp:include../> can include static html files only"
I dont agree with this.
I think jsp:include can be used to include dynamic jsp files as well.
What do u think ?
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's nonsense. Where did you read it?
- Peter
 
Deepak Mahbubani
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Peter den Haan:
It's nonsense. Where did you read it?
- Peter

I read this at ... http://www.jguru.com/faq/view.jsp?EID=525557
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic