tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <hassan.schroe...@gmail.com>
Subject Re: how do I dynamically include files
Date Thu, 01 May 2008 20:10:19 GMT
On Thu, May 1, 2008 at 12:35 PM, Jonathan Mast
<jhmast.developer@gmail.com> wrote:

>  Dynamically include a file where the file name is dynamic.  Neither of the
>  following lines of code work:
>
>     <jsp:include page="directory/<%=fileName%>" flush="true"/>

with JSTL:    <jsp:include page="${fileName}" />

(assuming that fileName is in a JSTL scope, of course)

HTH
---
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message