BUG in jsp:directive.include?

When I try this, it works fine:

<jsp:include page='${requestScope.content}' />

However, when I try this, it fails with an error:

<jsp:directive.include file='${requestScope.content}' />

Here is the error message:

File "/${requestScope.content}" not found.

(Looks like it does not evaluate the JSTL, instead takes it literally)

I am trying to use dynamic page fragment based on query string parameter. I don't mind using jsp:include, but if I have a table in jsp:include, and when I try to click on a column to sort, it does not carry over the query string params, and thus runs into an error.

Message was edited by:

Sabir

[753 byte] By [Sabir] at [2007-11-26 11:04:25]
# 1
Is this a feature or a bug?
pennstump at 2007-7-7 3:18:18 > top of Java-index,Development Tools,Java Tools...