Big Moose Saloon
 Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies Register / Login

# Struts with Resin

Neil Richards
Greenhorn

Joined: Jan 22, 2002
Posts: 9
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

Joined: Jan 22, 2002
Posts: 9
Having upgraded to Resin 2.1.10 all works fine.
Apologies,
Neil
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 6091

15

No apologies necessary, Neil. Thanks for your courtesy of posting a followup

Junilu - [How to Ask Questions] [How to Answer Questions]

I agree. Here's the link: http://aspose.com/file-tools

subject: Struts with Resin