A few ideas:
1) Just (mis)use session to pass the info.
2) Use dynamic include instead of static include and pass
info as query parameter.
3) Switch to a master page capable technology like
JSF facelets - I seem to recall that there exist
a Java web framework that supports master pages via
a taglib, but I cannot remember the name.
Arne
I've never used Facelets, from what I can tell that may be a better architecture for that sort of thing but would require a full rewrite.
I couldn't figure a solution that passes everything as is, where you can reference ${var} in the parent JSP and ${var} in the nested JSP, but I did find this option seems to work:
<%@ taglib prefix="c" uri="
http://java.sun.com/jsp/jstl/core" %>
<c:import url="${pagetoload}">
<c:param name="passvar" value="${vartopass}"/>
</c:import>
Then in the nested JSP, have to reference variables like ${param.passvar}
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)