tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Sabourdin <zouy...@yahoo.com>
Subject Re: dynamic includes.
Date Fri, 15 Sep 2000 09:57:05 GMT

--- Joakim Verona <joakim@verona.se> wrote:
> hello,
> 
> is this what you mean?
> 
> <jsp:include  page="<%=menupage%>" flush="true" />
> 
> where menupage is a variable pointing to an
> arbitrary page.
> the only problemi found whas that this construct
> didnt work:
> 
Somehow this does not works :
> <jsp:include 
> page="<%=menupage+"_test_suffix.jsp"%>" flush="true"
> />
but 
<% String menupage
="whaever"+happyVar.toString()+""_test_suffix.jsp?myVar=1";
 <jsp:include page="<%=menupage%>" flush="true" />
Works perfectly, so I let you try.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Mime
View raw message