[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
RE: Problems with includes
On Wed, 20 Oct 1999, Noel J. Bergman wrote:
> I can verify that there IS a defect in the handling of <%@include %>
> dependencies. If I change footer.jsp, none of the pages which depend upon
> it are rebuilt. Despite the fact that footer.jsp is listed in the
> dependent's dependency list, only if I modify the dependent, itself, is it
> being rebuilt.
I think this is only broken under JSDK 2.0. The problem is that
getResourceImpl(path, request) seems to be returning the resource for the
request rather than the resource for the path based on information in the
request. I think Carsten redefined the semantics when he was working on
the doForward()/doInclude() stuff. I'll take a look at fixing that.
You'll note in the JServ log that instead of checking timestamps for the
the file and its dependent, it's checking the timestamps for the file
twice.
> Wes, do you want to take a look at dependency processing? It appears to be
> broken here for <@%include>, and Sean seems to be saying that it is also not
> working for <jsp:include>.
<jsp:include> is done at request time, so the page doing the including
will not get recompiled. However the dependents should be recompiled
when they change. I've verified that this is happening correctly.
Wes