File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring mvc tiles" Watch "Spring mvc tiles" New topic

Spring mvc tiles

Antonio Avolio

Joined: Jan 26, 2013
Posts: 1
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 agree. Here's the link:
subject: Spring mvc tiles
It's not a secret anymore!