Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring VMC 3 + Tiles 3

 
Marcos Vidolin
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
[Thumbnail for Screenshot from 2013-10-03 00:14:44.png]
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
H Paul
Ranch Hand
Posts: 471
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why at the same time?



and
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 471
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you just remove or commented out and test again.

<bean id="jspViewResolver"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic