Just as a double check Jean Marie.
You need to have the taglibs in both the resultat.jsp and the 
headerRecherche.jsp.

This is how I do my include:
<jsp:include page="/includes/header.jsp" flush="true"/>
Do try with the attribute flush to true.

- Glenn




JM Tinghir <[EMAIL PROTECTED]> 
08/06/2005 08:02 AM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
Struts Users Mailing List <user@struts.apache.org>
cc

Subject
Re: Pb with html:link






Yes I did.
I have a <html:rewrite/> in it that works correctly.

Jean-Marie Tinghir


2005/6/8, Chris Loschen <[EMAIL PROTECTED]>:
> Did you include a taglib reference in headerRecherche.jsp? Something
> like this:
> 
> <%@ page language="java"%>
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
> 
> In this case, you need the html taglib for your html:link to work.
> 
> Hope that helps!
> 
> Chris Loschen
> 
> -----Original Message-----
> From: JM Tinghir [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 08, 2005 3:39 AM
> To: Struts Users Mailing List
> Subject: Pb with html:link
> 
> Hello,
> I have a JSP (resultat.jsp) in which there's :
>         <html:link page="/suppression.do">Suppression</html:link>
> This is working perfectly.
> 
> This JSP includes another one :
>         <jsp:include page="template/headerRecherche.jsp"/>
> This is still working perfectly.
> 
> But when I put the html:link in the headerRecherche.jsp , I get a
> NullPointerException...
> And this is not working perfectly anymore! ;-)
> 
> In my struts-config.xml, I have :
>         <action
>                 path="/suppression"
>                 forward="/jsp/suppression.jsp"/>
> 
> Thanks for your help.
> 
> Jean-Marie Tinghir
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> _______________
> Siebel
> IT'S ALL ABOUT THE CUSTOMER
> Visit www.siebel.com
> 
> This e-mail message is for the sole use of the intended recipient(s) and 
contains confidential and/or privileged information belonging to Siebel 
Systems, Inc. or its customers or partners. Any unauthorized review, use, 
copying, disclosure or distribution of this message is strictly 
prohibited. If you are not an intended recipient of this message, please 
contact the sender by reply e-mail and destroy all soft and hard copies of 
the message and any attachments. Thank you for your cooperation.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to