This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[SOLVED] Dynamic <jsp:include> page  RSS feed

 
Sam Gardner
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Guys -

I would like to dynamically grab different jsp pages using <jsp:include> tags. I tried using this method without any luck:



Eventually it dawned on me that this wouldn't work because the expression tags wouldn't be evaluated before the <jsp:include> tag. I would basically like to include a specific page based on a variable on the "outer" page. Has anyone managed to figure out how to do this sort of thing at all? The value of the variable can be *anything*, so I can't even do a big set of "if/then" statements.

Thanks for any help!
 
Sam Gardner
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whoops, figured it out already.

Probably should have looked at the documentation earlier.

Thanks anyway.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!