tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Oxspring <roxspr...@yahoo.com>
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...

Rob

>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: 
http://www.oxspring.demon.co.uk
If you have rejections, or want to send a big file, then try:
rob@oxspring.demon.co.uk

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

Mime
View raw message