Hi,

Assume I have 2 jsp(s), header.jsp and content.jsp

In header.jsp, I have:
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld/element.tld" prefix="element" %>

In content.jsp, I include header.jsp like the following:
<%@ include file="../common/Header.jsp" %>

The problem is, when I surf to content.jsp, all HTML tags can't be rendered,
they just don't show up. Every HTML tag which using Struts-HTML havn't show
up ....

but if I put those <%@ taglib uri=XXX statement in content.jsp, everything
work fine.

In web.xml, I already declare all tag lib and the URI are all correct

I also try using JSP include and toogle between absolute and relative path,
no luck at all

Any help would be appreciated

thanks

Reply via email to