• 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

Struts with Resin

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Hope someone can help me here. I am using Resin 2.0.4 with Struts 1.1 and the usual struts mechanism works fine, but when the jsp comes to display the results I get the following exception:
500 Servlet Exception
/zodiac/jsp/crew/officers-on-leave.jsp:3: can't find taglib descriptor
`/WEB-INF/struts-logic.tld'
My immediate thought was that the tld was not in the right place, but all my tlds are in WEB-INF.
Here's my jsp:

Furthermore, if I comment out the taglib directives, it then objects to the include directive (can't open include of `/jsp/footer.jsp'), and if I comment that out, it then can't find the com.mgms.zodiac.crew package. Having checked out that the files were in the correct location, I was at a bit of a loss until I found that if I called the jsp directly it worked fine.
The app part of my resin.conf looks like this:

... and the location of my files:
tld's: C:\Program Files\resin-2.0.4\zodiac\WEB-INF
struts-config.xml: C:\Program Files\resin-2.0.4\zodiac\WEB-INF
struts.jar etc: C:\Program Files\resin-2.0.4\zodiac\WEB-INF\lib
app classes: C:\Program Files\resin-2.0.4\zodiac\WEB-INF\classes
If anyone can tell me where I'm going wrong, I would really appreciate it!
Thanks,
Neil
 
Neil Richards
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Having upgraded to Resin 2.1.10 all works fine.
Apologies,
Neil
 
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No apologies necessary, Neil. Thanks for your courtesy of posting a followup
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic