You can use runtime attributes for jsp:include:

<jsp:include page="<%= session.getValue('foo') %>"/>

Scott Ferguson
Caucho Techology
David Wall wrote:

> > I would like to know if it's possible to nest a Jsp element inside another
> > Jsp element.
> > For example, I would like to use the <jsp:include page="" /> but the value
> > of the page attribute is not known at compile time and should be retrieved
> > at run time using <% session.getValue() %>.
> > Is it possible to do this (and if so, how??) or I'm asking too much to
> Jsp?
> > Any thoughts would be appreciated (and sorry for my bad english).
> > Matteo
>
> I'm pretty sure that nesting is prohibited in JSP.
>
> David
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JSP-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to