tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikola Milutinovic" <Nikola.Milutino...@ev.co.yu>
Subject Re: the include action - is this possible
Date Tue, 23 Oct 2001 06:44:54 GMT
> Hi,
> I believe the following does not work. The include action cannot have
> runtime access of variables "i.e. session.getAttribute("baseUri") ). I want
> to confirm whether this is the case:
> <jsp:include
> page="<%=session.getAttribute("baseUri")%>include/stylepicker.jsp"
> flush="true" />
> 
> I get the following exception:
> org.apache.jasper.compiler.ParseException:
> /domain/checknames/english_form.jsp(6,51) Attribute baseUri has no value

The problem, it seams, is not with the <jsp:include ...>, but with "session.getAttribute(
"baseUri" )" - as it reports. Are you inside a session?

Nix.
Mime
View raw message