[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
RE: Problems with includes
Sean,
First of all, you probably need to decide which mechanism is the one you
want to use. <jsp:include> and <%@include> have completely different
semantics. The former includes, at runtime, the output of the included
page. The latter includes, at compile time, the source for the page. These
are quite different.
I've not been using <jsp:include>, so far, but I am successfully using
<%@include> on my internal development site. An example would be:
<%@include file="footer.jsp">
which includes a footer portion of a page.
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.
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>.
--- Noel