SqlMapSpringConfig.xml

<?xml version=”1.0″ encoding=”UTF-8″ ?><!DOCTYPE sqlMapConfigPUBLIC “-//ibatis.apache.org//DTD SQL Map Config 2.0//EN”“http://ibatis.apache.org/dtd/sql-map-config-2.dtd”><sqlMapConfig> <settings cacheModelsEnabled=”true” lazyLoadingEnabled=”true” useStatementNamespaces=”true”/> <!– // 스프링 2.5.5 이상, 炒外汇入门 iBatis 2.3.2 이상일때 , 매핑로케이션 지원 // 버전이 안되면, 개별적으로 모두 등록하셔야 함 –> <sqlMap resource=”kr/or/ddit/shopplayer/ibatis/mapping/dummy.xml” /></sqlMapConfig>

spring messages.properties 참조

&lt;bean id=”xxxController” class=”xxx.xxx.XxxController”&gt;&lt;property name=”messageSourceAccessor” ref=”messageSourceAccessor”/&gt;&lt;/bean&gt;&lt;bean id=”messageSourceAccessor”class=”org.springframework.context.support.MessageSourceAccessor”&gt; 影梭 &lt;constructor-arg&gt; &lt;ref local=”messageSource” /&gt;&lt;/constructor-arg&gt;&lt;/bean&gt;<br /><br /><br /><br /><P>simpleFormcontroller에서 </P><P>MessageSourceAccessor&nbsp;의 getMessageSourceAccessor()</P><P>참조해서 사용</P> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 &lt;bean id=“xxxController” class=“xxx.xxx.XxxController”&gt; &lt;property name=“messageSourceAccessor” ref=“messageSourceAccessor”/&gt; &lt;/bean&gt; &lt;bean id=“messageSourceAccessor” class=“org.springframework.context.support.MessageSourceAccessor”&gt; &lt;constructor–arg&gt; &lt;ref local=“messageSource” /&gt; &lt;/constructor–arg&gt; &lt;/bean&gt;<br />   <br />   <br />   <br /> <P>simpleFormcontroller에서 </P><P>MessageSourceAccessor&nbsp;의 getMessageSourceAccessor()</P><P>참조해서 사용</P>