If you want to include a file _dynamically_ you have to use <jsp:include>
instead of <%@ include>. The following line will do it:

<jsp:include page="<%= name %>" flush="true"/>

Thomas

On Fri, 3 Dec 1999 16:17:24 +0530, ranjith <[EMAIL PROTECTED]> wrote:

>hi everyone,
>    I want to include a file dynamically like <%@ include file="<%= name
>%>" %>
>where name has the relative path.
>   But the value of name is not being substituted,engine is taking <%=
>name %> as its value .I am using JavaWebServer 2.0.How to make this
>work.
>       ranjith
>
> ==========================================================================
>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

===========================================================================
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

Reply via email to