There is exactly what I mean.
Paste the needed taglib tags e.g. :
<%@ 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" %>
into your "header.jsp" page.
/Katarina
-----Original Message-----
From: Hardee, Tony [mailto:[EMAIL PROTECTED]]
Sent: den 1 mars 2001 23:12
To: '[EMAIL PROTECTED]'
Subject: RE: JSP includes of
The application finds the header file; I am also sourcing an image which
appears on the page from the include. However, it is unable to resolve the
tag library descriptors. Thus the include statement is fine, it is the
taglib uri that is not working from the include.
Thanks
-----Original Message-----
From: Maya Muchnik [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 4:46 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP includes of
Try to change <jsp:include page="include/header.jsp"/> to put a full path to
header.jsp file. For example:
<jsp:include page="/WEB-INF/include/header.jsp"/>. But I am not sure.
Katarina Nelson wrote:
> Try to include the needed .tld files into the "include/header.jsp" page.
> It worked for me.
>
> /Katarina
>
> -----Original Message-----
> From: Hardee, Tony [mailto:[EMAIL PROTECTED]]
> Sent: den 1 mars 2001 22:29
> To: '[EMAIL PROTECTED]'
> Subject: JSP includes of
>
> 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.