File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts with Resin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts with Resin" Watch "Struts with Resin" New topic

Struts with Resin

Neil Richards

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

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

Joined: Feb 26, 2001
Posts: 6529

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:
subject: Struts with Resin
jQuery in Action, 3rd edition