wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts TLD download Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts TLD download" Watch "Struts TLD download" New topic
Author

Struts TLD download

Ashok
Greenhorn

Joined: Sep 24, 2008
Posts: 3
I am very new to struts,please help
To run a struts application(with simple single jsp),I have to download struts-html.tld,struts-logic.tld etc besides downloading struts.jar?.I am using JBoss server.I have downloaded struts.jar and copied the TLD's from other sources.
From where I will get the differnt tld's.I am usning struts 1.2
Kumar kum
Greenhorn

Joined: Sep 05, 2008
Posts: 10
Hi Ashok,
It seems to me that your very new to coding world because you dont know the official site of struts where you can download all jar files.


Nobody is perfect I am Nobody.
Ashok
Greenhorn

Joined: Sep 24, 2008
Posts: 3
I downloaded struts from the apache site http://struts.apache.org/download.cgi.
May be I forget to download other files.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Ashok,

Please check your private messages for a message regarding an important administrative matter. You can do so by clicking My Private Messages in the upper right corner of the page.

Regarding your question: When you downloaded Struts, you got a zip file. When you unzip this file, it creates a "lib" folder. You will find all the TLD files in this lib directory. They should then be copied to the WEB-INF directory of your project.

A better and easier way to start a Struts project is to unzip the struts-blank.war file that comes with the download and make that the starting point for your project. That has all the artifacts you need set up in the proper directories.


Merrill
Consultant, Sima Solutions
Kumar kum
Greenhorn

Joined: Sep 05, 2008
Posts: 10
Hi Ashok,
Merrill is right.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

For recent versions of Struts 1 the TLD files are included within the JAR file and do not need to be placed in the WEB-INF directory (nor specified in the web.xml).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts TLD download