-
Aug 18th, 2012, 11:56 PM
#1
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
-
Aug 20th, 2012, 01:11 AM
#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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules