Here is an example:
// Here is the code segment for the enclosing tag,
the template:insert ...
.....
<%
String strToBeUsedByPageA =
"Hello";
%>
<template:insert
template='aTemplate.jsp'>
<template:put
name='PageA.jsp'>
</template:insert>
// Here is the code segment for the enclosed file,
PageA
....
The enclosing tag defined the strToBeUsedByPageA
variable that is being displayed here:<%=strToBeUsedByPageA
%>
...
// I get the error msg saying
strToBeUsedByPageA is not define.
Thanks for any help I can get.
-Hay
|