aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "*.tld in the struts.jar" Watch "*.tld in the struts.jar" New topic
Author

*.tld in the struts.jar

Oscar Vasquez Flores
Greenhorn

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

web.xml
NOT
<taglib>
<taglib-uri>/WEB-INF/tld/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
</taglib>


Is possible for example Test.jsp: �?
*****
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
. . .
****
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: *.tld in the struts.jar