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 이상일때 , 매핑로케이션 지원 // 버전이 안되면, 개별적으로…

Continue Reading

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> 12345678910111213141516 &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…

Continue Reading
Close Menu