• 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

Getting message while adding taglib uri for Struts 2 in the JSP file

 
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am new to Struts2 and using Eclipse IDE for buliding Struts2 application.
In my sample application i have hello.jsp.
When i include below line i am message any error called "Cannot find tag library descriptor for /strtus-tags" when i move my cursor to the taglib attribute of taglib element in the hello.jsp

But same message i am not getting for other jsp (index.jsp) which is in the same path and under same location.

Please not that i have struts.xml in under /WebContent/WEB-INF/classes folder.


Could anyone let me know what needs to be done to resolve above.

Thanks in Advance.
 
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have the struts-tags.tld under your classpath or lib? If not, then just put it there.
 
Jay Shukla
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rajkumar,

Thanks for reply. But i do not think that for Struts 2 application you need to add separate tld file to your lib file or classpath.
Even in Black book it is not mentioned to add such file.

But if it is required to add tld file, could you let me know from where to get that file for Struts 2?

Thanks in Advance.
 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have the struts.jar in you classpath. Then i think it would be enuff.
 
Jay Shukla
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes i have struts2-core-2.0.6.jar in lib folder.
 
No one can make you feel inferior without your consent - Eleanor Roosevelt. 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