<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"> <property name="basenames"> <list> <value></value> </list> </property> </bean></beans>
这个<value>标签中应该怎么添加message文件,格式是怎样的呢。
Spring中遇到一个问题
最新推荐文章于 2024-05-01 16:49:56 发布