Reputation: 1599
where to put struts-core2.x.x.jar? (in WEB-INF/lib or jboss shared lib)
When I'm trying to use struts tag in jsp, I'm getting an error as /struts-tag can not be located.
I've kept all the jars in jboss shared lib folder. In my project configuration, I'm not allowed to put the jars in WEB-INF/lib location.
What should I do?
Upvotes: 1
Views: 315
Reputation: 50203
This is the same problem you encounter creating skinny WARS (and then putting the libraries elsewhere, in my case in the EAR).
The solution I found was to:
reference them in the page like this:
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld" %>
Upvotes: 1