0
私は200のフォーマッタを1つのパッケージに入れているとしましょう。どのように私の代わりにこれを行うのフォーマッタのパッケージを登録することができます。Spring MVCでフォーマッタのパッケージを登録する方法
<mvc:annotation-driven conversion-service="conversionService" />
<bean id="conversionService" class="org.springframework.format.support.FormattingConversionServiceFactoryBean">
<property name="formatters">
<set>
<ref bean="MyFormatter1" />
<ref bean="MyFormatter2" />
...
<ref bean="MyFormatter200" />
</set>
</property>
</bean>