John Fereira wrote the following on 4/1/2005 2:28 PM:
So why not use an include tag"
<%@ include file="/WEB-INF/jsp/Include.jsp" %>
where Include.jsp looks something like:
http://www.w3.org/TR/html4/loose.dtd";>
<%@ page contentType="text/html" %>
<%@ taglib prefix="spring" uri="http://www.springfr
At 10:07 AM 3/31/2005 -0800, you wrote:
Greetings,
I realize this may be going against the grain, but is there anything
wrong with declaring all my taglibs in web.xml so I don't have to have
5+ lines of code at the top of every JSP page?
So why not use an include tag"
<%@ include file="/WEB-INF/
I'm afraid you misunderstood one important point about this. You can't
avoid the "taglib" directive in your JSP. The only difference in the
two strategies is what "uri" attribute you use in those taglib
directives in your JSP. If you remove the taglib elements from your
web.xml, then the JSP tag