• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with Struts 2 TLDs

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Folks,
To start with, I too am new to struts and have downloaded struts-2.2.1-all.zip from struts 2 home page. After doing recommended setup by configuring struts-2.2.1 in tomcat,
I have created directory structure as given below in Tomcat 5.5 - D:\Tomcat 5.5\webapps\Web-directory\WEB-INF.
I have placed the Login.jsp in the D:\Tomcat 5.5\webapps\Web-directory .Now the problem is I am not able to find the *.tld files in D:\Tomcat 5.5\struts-2.2.1\lib. I tried downloading struts-2.2.1-lib.zip and also struts-2.0.14-lib.zip and searched there , there too i am not able to find the *tld files . Can any body help out as to how to resolve this issue.
PFB the code for Login.jsp
------------------------------

 
Sheriff
Posts: 9708
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You don't need to do anything with the Struts TLD files. Tomcat will automatically search for the TLDs in the struts jars that you put in the WEB-INF/lib directory of your application. Also you are using Struts 2 but your JSP page seems to be based on Struts 1.x tags...
 
He got surgery to replace his foot with a pig. He said it was because of this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic