This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring mvc tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring mvc tiles" Watch "Spring mvc tiles" New topic
Author

Spring mvc tiles

Antonio Avolio
Greenhorn

Joined: Jan 26, 2013
Posts: 1
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

Joined: Aug 06, 2012
Posts: 123

<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]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Spring mvc tiles
 
jQuery in Action, 3rd edition