aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 122

<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: http://aspose.com/file-tools
 
subject: Spring mvc tiles
 
Similar Threads
Struts 2 Tiles
Tiles in struts?
confusion on struts tile
Interesting tiles/struts making a menu question
tiles and <sx:autocompleter>