Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:include directive

 
Harsha Vardhan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes!
 
Anthony Villanueva
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jsp include directive
 
Tracy Woo
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, a directive works at translation time. It does not make any sense to have expression at that time.
An include action can have run time expressions.
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wording problem
<jsp:include page="..." /> is jsp include action, which can accept request time value
<jsp irective.include file="..." /> is jsp directive, the attribute file cannot accept request time value.
The original question was all messed up...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic