While using tiles:insertAttribute following error displayed on the console,
Error executing tag: Attribute 'Header' not found.
org.apache.tiles.TilesException: Attribute 'Header' not found.
Jars used :-
antlr-2.7.2.jar
commons-beanutils-1.8.0.jar
commons-collections-3.1.jar
commons-digester-2.0.jar
commons-fileupload-1.2.2.jar
commons-io-2.0.1.jar
commons-lang-2.4.jar
commons-lang3-3.1.jar
commons-logging-1.1.1.jar
freemarker-2.3.19.jar
javassist-3.11.0.GA.jar
ognl-3.0.6.jar
struts2-core-2.3.12.jar
struts2-jquery-plugin-3.5.1.jar
struts2-tiles-plugin-2.3.12.jar
tiles-api-2.0.6.jar
tiles-core-2.0.6.jar
tiles-jsp-2.0.6.jar
velocity-1.6.4.jar
xwork-core-2.3.12.jar
I don't know whether the problem is due of jars or any other problem,
please help me out
I am new to tiles, please
My tiles.xml file:-
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
"http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
<tiles-definitions>
<definition name="Layout" template="../jsp/common/layout.jsp">
<put-attribute name="title" value="Books World" />
<put-attribute name="Header" value="/jsp/common/header.jsp" />
<put-attribute name="Menu" value="/jsp/common/menu.jsp" />
<put-attribute name="Body" value="/jsp/common/welcome.jsp" />
<put-attribute name="Footer" value="/jsp/common/footer.jsp" />
</definition>
<definition name="welcome.page" extends="Layout">
<put-attribute name="title" value="Welcome" />
<put-attribute name="Body" value="/jsp/common/welcome.jsp" />
</definition>
</tiles-definitions>
and tag used in jsp
<tiles:insertAttribute name="Footer"/>