tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dino Klein" <zag...@speakeasy.net>
Subject Re: Using JSTL 1.1.2 with Tomcat 5.5 & J2SE 5.0
Date Mon, 06 Jun 2005 13:16:07 GMT
I have two jspx files (pasted below), where one includes the other.
When I remove the xmlns:c declaration/importation - it works; similarly,  
when I do not include the other file, it also works fine.

Thanks.


(1) main.jspx
==============
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
<maintag xmlns:c="http://java.sun.com/jsp/jstl/core">
	<jsp:directive.include file="one.jspx"/>
</maintag>
</jsp:root>
=============

(2) one.jspx
=============
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
	<taga>hello</taga>
</jsp:root>
=============


On Sun, 05 Jun 2005 23:26:07 -0400, Rahul P Akolkar <akolkar@us.ibm.com>  
wrote:

> "Dino Klein" <zagzag@speakeasy.net> wrote on 06/05/2005 10:43:13 PM:
> <snip/>
>> org.apache.jasper.JasperException: <h3>Validation error messages from
>> TagLibraryValidator for c</h3><p>null: org.xml.sax.SAXParseException:
>> Attribute "jsp" bound to namespace "http://www.w3.org/2000/xmlns/" was
>> already specified for element "jsp:root".</p>
> <snap/>
>
> Can you post the jsp(x)?
> -Rahul

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message