tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Please, I need to understand how apache tomcat finds taglib files with .tld and .xml extensions
Date Wed, 07 Aug 2013 03:39:32 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Alejandro,

On 8/6/13 1:51 PM, Alejandro Soto wrote:
> I have a custom taglib file, which is named mytaglib.xml. When I
> deploy my app, which uses this file, in apache tomcat 5.5 and
> better, my app does not have any problem to find this file, and
> everything works fine. But when I deploy my app in JBoss, I have
> the problem that the app can't find this file.

Why do you think a container should ever load tag library descriptors
from mytaglib.xml?

> If I renamed this file to mytaglib.tld, the problem is solved. I
> did the same test with tomcat, and it works fine. So, my question
> is, why doesn't apache tomcat have problems to find this file with
> a .tld or .xml extension?. I would like to know whether in older
> versions of apache tomcat, the name of taglib.xml was required, so
> today there is no problem with .tld or .xml extension. Is this part
> documented in somewhere?

I'm not sure why your taglibs work in this configuration, but I
believe only .tld files are officially recognized.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSAcF0AAoJEBzwKT+lPKRYfyUP/AkcpCWK0sSpBYRimWMDywcs
8jZqRSvinQN5SR2UwlNSDuXCG/sv8l0HYdk/afZLE5vl+kQE/n9+bu/pG4nd0iiO
X/soz0A5FN611Dwd+/su93ka8Ris2XtKieuhiOx2AnaJioWFmxQ5Yq1lhk1J+7wP
hcHTzbyaLY0WQ1Jl2jRxXrcGp8i8RWxOko+hdsC5bs/zjYJoFmWOU/1RnGu1gWF2
GYP/0F65KgcqIiv/5k0todwd6bvx6i7bw3PodcROOtXNNhzjCFQwuqgcsgOWaN22
xek9EcUTs6przguxI9ngejD1NByxGh31HaOKbrnps7/YaegIKsGS+xDIbrrARz/h
28BYkteAe8k6NqVcM/EEVVNj82KwLpklaZF9sEupPGYKumtQGIK+H1xU7Ow4wGtS
CBZKMU6ihoBBhn787s4s5m7mGHUoNQkiNuVxR6ivlbGOGTbGXrbKZECKRdnf9SPE
pGCOsjYtLnOGreqWL7y0dt6DCnYge+h/gCmibOx6uaADed9soLxr5j1eVisHS+Aj
Hjt5Lv0jmulm6GjaBhvoQWgq2qbIAM3Fgj6hIJQ6lHjLyzZA6oQlqBI84EQZ4PEI
LVuK8oerWw7P0vLPYrd/w7P9IKZZ2wwFgnidUimIRnwVThZ3B4w766UT00T2bu2x
IlU2KzJenmKqkKNV54vn
=aGOD
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message