Announcement Announcement Module
Collapse
No announcement yet.
Spring Theme does not work Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Theme does not work

    Hi,

    I have a home.jsp in project1/src/main/webapp/WEB-INF/views/home.jsp
    <link rel="stylesheet" href="<spring:theme code='styleSheet'/>" type="text/css"/>

    and in servlet-context.xml I have
    <beans:bean id="themeSource"
    class="org.springframework.ui.context.support.Reso urceBundleThemeSource">
    <beans: property name="basenamePrefix" value="them-"/>
    </beans:bean>

    but it ran into this error >>
    WARN : org.springframework.context.support.ResourceBundle MessageSource - ResourceBundle [them-theme] not found for MessageSource: Can't find bundle for base name them-theme, locale en_US

    please help me
    Thanks

  • #2
    It's not an error it is a WARNing... It simply cannot find the language specific theme bundle and will fallback to the default bundle. Make sure that they are readable in the /WEB-INF directory.

    Comment

    Working...
    X