Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring mvc tiles

 
Antonio Avolio
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
i'm using spring mvc and tiles.

In my dispatcher-servlet.xml:



In tiles.xml



my layout.jsp is:



when calling the page I get



help me!!!
 
Kathleen Angeles
Ranch Hand
Posts: 123
Firefox Browser Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<put-attribute name="header" value="header.jsp" />


Put a slash before the content of the value.

Examples are below, based on where you put the header.jsp.










- k


--------------------------------------------------------------------------------------------------------------
[SpringSource Certified Spring Professional - Practice Tests]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic