Reputation: 451
Are there other possible ways to include a tag file (jstl custom tag) into a jsp file than the one via .tld file?
is it possible to use the include mechanism? <jsp:include page="bla.tagx"/>
<jsp:include page="bla.tagx"/>
Upvotes: 0
Views: 1541
Reputation: 692071
You don't need any .tld file to use tags implemented as tag files. The tags must simply be put under WEB-INF/tags, and be declared in the JSP using
WEB-INF/tags
<%@ taglib tagdir="/WEB-INF/tags" prefix="myTags" %>
More information here.
Upvotes: 1