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

Re: include directive changes document base



Hi Primoz,

what version of gnujsp do you use?
If gnujsp1.0b6 please try a current cvs snapshot.
The testsuite dows a lot of these tests and runs fine.
In an older version we had a bug that always appended subdirs.

>
>It seems that when trying to include a file with the <%@include file ...%>
>directive, the page base changes.
>For example, I have a jsp that includes files like this:
>
>my.jsp:
><%@include file="subdir/another.jsp" %>
>
>but then, when I do an include in another.jsp like this:
>
>another.jsp:
><%@include file="subdir/another2.jsp" %>
>
>JServ prompts that it cannot find the file
><webroot>/subdir/subdir/another2.jsp, although it should search for it in the
>subdir directory. I mean, my.jsp has top level base, so any subsequent include
>shouldn't change it. With the SUN JSWDK, the above works fine. Is this an
>implementation bug?
>
>
>Primoz

Ciao,
	Carsten