Is there a c tag equivalent of the <%@ include %> tag? Basically, when using the c:import tag, I find that the included pages cannot use c tags unless I import the jstl/core file on the included page.
Thanks in advance.
Is there a c tag equivalent of the <%@ include %> tag? Basically, when using the c:import tag, I find that the included pages cannot use c tags unless I import the jstl/core file on the included page.
Thanks in advance.
I guess jsp:include could be your thing. not part of the c: taglib, but works fine imo. it's nice for passing dynamic parameters and stuff like that.
Do you mean in XML syntax?
<jsp:directive.include file="relative_url" />
If you're looking for JSTL alternative, there isn't any. <c:import>
is not the same thing - it evaluates content before inclusion.