• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

.tld files

 
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'reading a tutorial wherein its written as:

Add the following files to the c:\Project\WEB-INF\tlds directory:

c:\java\jakarta-struts-1.1\lib\struts-bean.tld
c:\java\jakarta-struts-1.1\lib\struts-html.tld
c:\java\jakarta-struts-1.1\lib\struts-logic.tld

I have struts1.3.8 available with me.I checked its lib folder but there are no .tld files present.

Request your help.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tutorial was obviously written before Struts 1.3.8. These TLD files are required for versions 1.2.9 and below, but for version 1.3.8, they are bundled in the struts-taglib-1.3.8.jar file and should not be copied to the WEB-INF folder.

Your tutorial will also no doubt tell you to use taglib declarations in your JSP that are incorrect for version 1.3.8. Here are the correct ones.
<blockquote>code:
<pre name="code" class="core"><%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic"; prefix="logic" %>
</pre>
</blockquote>
 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any difference between struts 1.3.5 and struts 1.3.8?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are obviously some differences between 1.3.5 and 1.3.8, but the information I have given in my previous post is the same for both versions. For a list of differences, see the release notes.
 
I'm so happy! And I wish to make this tiny ad happy too:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic