• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts with Resin

 
Neil Richards
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Having upgraded to Resin 2.1.10 all works fine.
Apologies,
Neil
 
Junilu Lacar
Bartender
Posts: 7480
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No apologies necessary, Neil. Thanks for your courtesy of posting a followup
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic