File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes *.tld in the struts.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "*.tld in the struts.jar" Watch "*.tld in the struts.jar" New topic

*.tld in the struts.jar

Oscar Vasquez Flores

Joined: Aug 28, 2005
Posts: 6
Hi Guys!
It is possible to use the TagLibraries the Struts but without it declares within web.xml the TAG <taglib>.

It is to say I want to use .tld that they within struts.jar


Is possible for example Test.jsp: �?
<%@ taglib uri="" prefix="bean" %>
. . .
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60739

If the .tld is in the META-INF folder of the jar, and you use the proper URI, there is no need for any web.xml declarations.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
jQuery in Action, 2nd edition
subject: *.tld in the struts.jar
Similar Threads
URI cannot be resolved
struts defn in web.xml
Struts taglibs - references - doubt
regarding updating web.xml with struts1.1
why my application can't detect struts tld files ?