This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts TLD download

 
Ashok
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ashok
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kumar kum
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ashok,
Merrill is right.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic