You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Struts-dev Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/06/04 16:55:01 UTC
Can someone add a to the tiles.tld?
Subject: Can someone add a <uri> to the tiles.tld?
From: "Loren Halvorson" <lo...@please-no-spam-firepond.com>
===
I am using the auto-discovery feature of tld's (see
http://www.onjava.com/pub/a/onjava/2001/10/10/jsp.html?page=2) This makes
it so you don't have to declare your <taglib> entries in web.xml, provided
you use the tag's suggested URI.
I notice that all of the struts-*.tld include a line like this:
<taglib>
:
<uri>http://jakarta.apache.org/struts/tags-bean-1.0</uri>
:
But the tiles.tld does not. I think it's a less than trivial change for
someone, but really simplifies using these tag libraries. Drop it in your
WEB-INF\lib and start using it in your pages with:
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean-1.0"
prefix="bean" %>
Nothing required in web.xml.
Thanks,
--Loren
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>