struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Buckley" <>
Subject redundant tag declarations and JSTL
Date Wed, 04 Dec 2002 20:18:28 GMT

My JSPs contain a bunch of include file statements inside of <nested:..>
tags.  For example,

<nested:nest property="xxx" >
<%@ include file="/util/xxx/editor.jsp"  %>

They work great.  However, when I attempt to add JSTL into my pages, I get a
compile error when Tomcat attempts to process a JSP:

org.apache.jasper.JasperException: null(-1,-1) null:
org.xml.sax.SAXParseException: Attribute "xmlns:logic" was already specified
for element "jsp:root".

As the error message implies, I've determined the error is the result of
redundant taglib declarations, and this is happening because I have struts
tags in both included jsps and the main jsp.  It is surprising to me that
this error does not surface until adding in even one line of JSTL, which
does not seem to be part of the problem.

Why does this error only appear when adding in JSTL?

Are my original JSPs actually invalid (because they contain redundant taglib
declarations) and should not have been working in the first place?

I am Tomcat 4.1.12 and struts 1.1b1.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message