• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Spring MVC ThemeChangeInterceptor do not change theme

Ranch Hand
Posts: 39
MyEclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am stuck at something really painful. I am trying to use the theming of Spring WebMVC.

This is the end of my web-context.xml file :

In my header file, I have something like :

And to finish, my html head has (imported in all views) :

I got the two properties files in src/main/resources, which leads to my css. For example in theme-default.properties, there is :

My css are in src/webapp/static/css/. When I load the website for the first time, the theme is default, so I think that the property files and the css are correctly found by the Theme resolver. But when I click on Default or Other in the header, nothing happens.

Do you know where the problem is ?
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic