?
Solved

Attribute "xmlns:template" was already specified for element "jsp:root".

Posted on 2007-08-02
2
Medium Priority
?
2,748 Views
Last Modified: 2013-11-24
I am getting following error in my application.
I am using JSP and JSTL tags.
I am using following jstl tag.
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>



<h3>Validation error messages from tag library c</h3>org.xml.sax.SAXParseException: Attribute "xmlns:template" was already specified for element "jsp:root".<h3>Validation error messages from tag library c</h3>org.xml.sax.SAXParseException: Attribute "xmlns:template" was already specified for element "jsp:root".


previouly when I run this, I didnt get any error.
It starts suddently.
What could be cause and solution to this error.

0
Comment
Question by:Manish
  • 2
2 Comments
 
LVL 9

Accepted Solution

by:
matthew016 earned 500 total points
ID: 19624042
That's because you have twice the declaration of tiles library probably :

[...]
<%@ taglib uri="/struts-tiles.tld" prefix="tiles" %>
[...]
<%@ taglib uri="/struts-tiles.tld" prefix="tiles" %>
[...]


Check it out
0
 
LVL 9

Expert Comment

by:matthew016
ID: 19624128
Sorry, not tiles in this case but "template"
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

592 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question