gwendal wrote:
> hello,
>
> as the subject explains it I have a problem to insert a jsp tag inside
> another jsp tag.
> I would like to include a file inside a jsp document but I only have the
> name of
> the file at runtime...
>
> in my product.jsp file I wish I could do
>
> <jsp:include page="<% out.println(myObject.getDescriptionFile()); %>" >
> in order to be processed as :
> <jsp:include page="product/dvd/product234211description.txt" >
>
> I suppose it is possible... but How?
>
Use the following instead:
<jsp:include page="<%= myObject.getDescriptionFile() %>" flush="true" />
>
> thanks in advance...
>
> Gwendal Tanguy
> StellarX France
>
Craig McClanahan
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html