And the libs can be imported as required by developers in their jsp as needed.
<jsp:directive.page pageEncoding="UTF-8" trimDirectiveWhitespaces="true"
errorPage="/WEB-INF/resources/error/errorpage.jsp"/>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<%@taglib uri="http://xml.metamug.net/jsp/jstl/mason" prefix="m" %>
Can the directives not be specified in web.xml ?
https://stackoverflow.com/questions/7066192/how-to-specify-the-default-error-page-in-web-xml
https://stackoverflow.com/questions/208736/strip-whitespace-from-jsp-output
And the libs can be imported as required by developers in their jsp as needed.
https://github.com/metamug/mason-sample/blob/master/WEB-INF/resources/fragments/mason-init.jspf