where to put struts-core2.xxjar? (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?
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" %>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.