To do what you're talking about, you need to use <%@ include file="/Common/foo1.jsp" %> etc. Hopefully that will get you past this "problem". Cheers, Anuj.
> -----Original Message----- > From: Bryan P. Glennon [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 03, 2002 7:27 PM > Subject: Taglibs and included pages > > I'm seeing some strange (or maybe intended) behavior with taglibs and > included files. Here's what I do: > > <%@ taglib prefix="bean" uri="/WEB-INF/struts-bean.tld" %> > <%@ taglib prefix="html" uri="/WEB-INF/struts-html.tld" %> > > Normal JSP/HTML stuff... > > <html:form action="/action.do" style="margin-botton:0m"> > > <TABLE> > <jsp:include page="/Common/foo1.jsp"/> > <!-- Page specific rows go here --> > </TABLE> > <HR> > <TABLE> > <jsp:include page="/Common/foo2.jsp"/> > <!-- More page specific rows here --> > </TABLE> > > </html:form> > > More standard jsp/html > > (foo1 and foo2 just contain table rows but do use the struts > bean tag.) > > The problem is with the two include files. If I don't repeat the <% > taglib> declarations > in the included files, they don't work. It seems to me that once the > libs are declared, > that declaration should hold for the remainder of the page. > I'm sure I'm > missing something > here, and I'm looking for enlightenment. > > Any info is appreciated. > > Cheers, > Bryan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
