Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[SOLVED] Dynamic <jsp:include> page

 
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!