> <%@ taglib uri="mytaglib" prefix="p" %>
>
> <html>
>
> <% out.print("<p><b>HOME </b>"); %><br>
>
> <p:mytaglib/></font> <br>
Do you have a tag by name mytaglib within myTag.tld? Becuase that's
what <p:mytaglib/> means.
On 7/19/05, Baranj, Bala <[EMAIL PROTECTED]> wrote:
> JSP version is 1.1, J2EE 1.4, Eclipse 3.0 with MyEclipse 3.8.3, Weblogic
> 8.1.
>
> I have defined the filter in the web.xml as follows:
>
> <filter>
> <filter-name>BreadcrumbFilter</filter-name>
> <filter-class>test.BreadcrumbFilter</filter-class>
> </filter>
> <filter-mapping>
> <filter-name>BreadcrumbFilter</filter-name>
> <servlet-name>*.do</servlet-name>
> </filter-mapping>
>
> the tag library is also defined in web.xml as follows:
>
> taglib>
> <taglib-uri>mytaglib</taglib-uri>
> <taglib-location>/WEB-INF/myTag.tld</taglib-location>
> </taglib>
>
> In my jsp:
>
> <%@ taglib uri="mytaglib" prefix="p" %>
>
> <html>
>
> <% out.print("<p><b>HOME </b>"); %><br>
>
> <p:mytaglib/></font> <br>
>
> <a
> href="electronics.jsp?link=Electronics&level=top&navAction=jump">Electronics
> </a> </font><br>
> <a
> href="computers.jsp?link=Computers&level=top&navAction=jump">Computers</a>
> <br>
>
> </html>
>
> I am getting the following error message:
>
> Tag Insert : No value found for attribute 'mytaglib'.
> at
> org.apache.struts.taglib.tiles.InsertTag.processAttribute(InsertTag.java:688
> )
> at
> org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java:476
> )
> at
> org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java:436)
>
> I have already searched the mailing list archive for similar problems with
> no luck. My question is : Is it possible to use the tiles, struts and the
> servlet filter together? Are they compatible?
>
> I can see the init of the filter getting called when the server comes up. It
> executes the Struts MyAction class and then chokes at the custom tag in the
> jsp (it never executes the doStartTag method). Any pointers on what I am
> doing wrong?
>
>
> Thanks in advance.
> Bala
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]