tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Mast" <jhmast.develo...@gmail.com>
Subject Re: how do I dynamically include files
Date Thu, 01 May 2008 20:20:03 GMT
Will JSTL work with Tomcat 5.5?  And if so is it a lot of work to set up or
do I just drop a jar file in the classpath?

On Thu, May 1, 2008 at 7:10 PM, Hassan Schroeder <hassan.schroeder@gmail.com>
wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message