Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp:include problem  RSS feed

 
Niral Trivedi
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to put filename in <jsp:include> tag dynamically using a variable. but it is not working.

I am trying following:

<jsp:include page="foo/bar/<%= fileName %>" flush="true"></jsp:include>

But it is not working. I found somewhere that try using <jsp arams> but has no clue how do I use it.

Thanks in advance.

Niral
 
Balan Raj
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Checkout Include with params
or
Forward with params

.. read the whole page for examples
[ October 13, 2004: Message edited by: Balan Ram ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!