• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

*.tld in the struts.jar

 
Oscar Vasquez Flores
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64716
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic