Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

TilesException: Attribute 'Header' not found.

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"/>
 
If you like strawberry rhubarb pie, try blueberry rhubarb (bluebarb) pie. And try this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!