<%@ include is the static include, it paste the code inside the same page, so you don't have to redeclare the same tlds. Use <jsp:include or <c:import to include dynamic content. Andrea
-----Original Message----- From: Wim Bervoets [mailto:[EMAIL PROTECTED]] Sent: marted́ 16 aprile 2002 13:33 To: '[EMAIL PROTECTED]' Subject: Validation error messages Hello, I receive the following errors when using the standard tag library. This only happens when I include the jsp file with the database statements in another. Validation error messages from tag library sql null: org.xml.sax.SAXParseException: Attribute "xmlns:dt" was already specified for element "jsp:root". Validation error messages from tag library c null: org.xml.sax.SAXParseException: Attribute "xmlns:dt" was already specified for element "jsp:root". eg. index.jsp <%@ include file="/news.jsp" %> and in news.jsp <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/ea/sql" %> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/ea/core" %> <%@ taglib uri="http://jakarta.apache.org/taglibs/request-1.0" prefix="req" %> <%@ taglib uri="http://jakarta.apache.org/taglibs/datetime-1.0" prefix="dt" %> <%@ page import="java.util.Calendar" %> <%@ include file="/blocs/dbconnection.jsp" %> <% if (request.getParameter("category") != null) { %> <sql:transaction dataSource="${dataSource}"> <sql:query var="news"> select date_published, title, content, category, author, icq, email from dancevibes_news, dancevibes_author where dancevibes_author.author_id = dancevibes_news.author_id and (category = '<req:parameter name="category"/>') ORDER BY news_id DESC </sql:query> </sql:transaction> <% } .... directly executing news.jsp does work; it's only when it's included in index.jsp I receive the above errors. I'm using Tomcat 4.0.3. If you need more info, I can email the attachments. Best regards, Wim _________________________________________ Wim Bervoets ICQ#: 112846272 * More ways to contact me <http://wwp.icq.com/112846272> i See more about me <http://web.icq.com/whitepages/about_me?Uin=112846272> _________________________________________ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>