aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 412
    
    3
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: 412
    
    3
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