This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring VMC 3 + Tiles 3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring VMC 3 + Tiles 3" Watch "Spring VMC 3 + Tiles 3" New topic
Author

Spring VMC 3 + Tiles 3

Marcos Vidolin
Greenhorn

Joined: May 10, 2011
Posts: 28
Hi guys,

I'm trying to configure Apache Tiles 3 with Spring MVC 3 in my application but the template is not applied.
Does anybody can help me with that configuration?

mvc-dispatcher-servlet.xml


layouts.xml


view.xml




Thanks


[Screenshot from 2013-10-03 00:14:44.png]

Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 356
The code looks fine to me. I have similar code working, only the difference being that I am using tiles2. Can you share your project so that i can try it on my local environment.


SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 382
why at the same time?



and
Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 356
H Paul wrote:why at the same time?



and


Initially I thought that it might be causing problem, but i tried on my sample application and it works fine
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 382
Can you just remove or commented out and test again.

<bean id="jspViewResolver"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring VMC 3 + Tiles 3
 
Similar Threads
Looking for advice on configuring a new project using Spring and Hibernate.
Error creating bean with name tilesConfigurer
can't find css, images and js static files
Adding a CSS file to the JSP for my Spring app
Problems integrating Spring Webflow with my Spring MVC application