• 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

JSP not able to find tag library descriptor | Struts 1.3 | Websphere App Server 7.0 | RAD 8.0

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to do a simple hello world struts app (using Struts 1.3) on Websphere App Server 7.1.
The JSP's are not able to find the tag libraries showing the error "Can not find the tag library descriptor for "http://struts.apache.org/tags-logic"
From what I understand
1. With JSP 2 it is not required to mention .tld descriptors in web.xml as structs.jar has it already - This does not seem to the case as I'm getting errors
2. I did enter the web descriptor in web.xml and moved the corresponding tld in the WEB-INF folder - this did not help either.
My web.xml looked like this


My jsp looks like this


Questions
1. Could you help me in understanding how to resolve this issue?
2. Is there any setting which needs to be done for RAD or WAS to configure Struts? All I did was create a dynamic web project, copy libs and created my struts-config.xml and java classes

Thanks
 
jazz pal
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Resolved the issue - It was an issue with the web.xml. Sharing the solution with the forum
1. Web.xml needs to mention the location of the tld with the absolute URL instead of relative path as I had put earlier
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic