[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: CVS changes for include directive


Hans Gerwitz wrote:

> > The include directive (translation-time) works under Apache/JServ again
> > but requires that you set the pagebase init parameter in your zone
> > file.
>
> Thanks to Wes for this fix, which we found in the source.  I should point
> out, though, that the URI given in the file attribute of the include
> directive must be "absolute" whenever the directive is used more than once.
> That is to say that:
> <@ include file="include/foo.jsp">
> will work once, but the second use such as
> <@ include file="include/bar.jsp">
> will fail, looking for "include/include/bar.jsp"  Using instead
> <@ include file="/include/foo.jsp">
> will work multiple times.
>
> Hopefully that makes sense to someone for whom this is an easy fix (read:
> Wes :-)
>
> --
> hans @ gerwitz .com

Oh, now I understand.  I'll fix this too. :-)

Thanks

Wes