Hola all, I've cross posted this issue at the sun developer forums but it's driving me nuts and I'm hoping that I might get some different/additional insight here.
Basically what I have is a page using either
jsp:include or c:import (I say either as I've tried using both) to include a jspf fragment. The fragment imports several taglibs (displaytag, ajaxtags, etc.,) and renders a table. Instead of the page using the c:import/jsp:include getting the response/rendering of the imported/included page, it's getting the source code of the included page, taglib declarations and all!
here is the jspf file:
I'd paste the source code of the page using the import to import this fragment but it's on a separate network and I don't care to type that much in ;-)
The code using <c:import url="WEB-INF/jsp/pagefragement.jspf" />
or <jsp:include page="WEB-INF/jsp/pagefragment.jspf" /> (these tags actually have a body with some parameters being set for the fragment).
is just getting the above code, <%@page, <%@taglib and all injected into the source at the point of the <c:import or <jsp:include. I'm fairly new to jsps so I'm not really sure how to trouble shoot this issue...
I'm using
jboss and looking in my working directory the pagefragment.jspf is not being translated (tried it as a .jspf and a .jsp not that that should make a difference to my knowledge...).
Thanks much for any help/insight!