tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Oxspring <>
Subject Re: dynamic includes.
Date Thu, 14 Sep 2000 13:28:53 GMT
The problem here is that the " symbols are confusing the parser -
you'll have to escape them as \":

<jsp:include  page="<%=menupage+\"_test_suffix.jsp\"%>" flush="true" />

Things to start to look ugly though...


>where menupage is a variable pointing to an arbitrary page. 
> the only problemi found whas that this construct didnt work:
><jsp:include  page="<%=menupage+"_test_suffix.jsp"%>" flush="true" />
>which i think it should if you read the relevant part of the syntax
>ref. but no big deal, it is easy to build the string in advance.

Web site:
If you have rejections, or want to send a big file, then try:

Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!

View raw message