"Johnson, Nathaniel" a �crit :
> 
> Does anyone know how to get the servletContext from within a custom tag
> (public class MyTag extends SupportTag...)
> 
> Thanks!
> Nate

i did it that way seems to work

ActionMappings mappings =
(ActionMappings)pageContext.getAttribute(Action.MAPPINGS_KEY,PageContext.APPLICATION_SCOPE);
ServletContext context = mappings.getServlet().getServletContext();

Reply via email to