I am having trouble using includes and custom tags in JSPs with Struts.
The application is unable to find the tag descriptor files. For example, I
have an include file that contains:
// header.jsp
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
and call it in the JSP:
<jsp:include page="include/header.jsp"/>
The .tld files can not be resolved. The include directory is one level under
the JSP and I have tried different paths to the .tld files with no success.
How can I get this to work if at all?
Solutions are appreciated.