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]

Reply via email to