spring3.x を使用しています。アプリケーションに以下の構成ファイルがあります。
applicationContext.xml
spring-ws-servlet.xml
web.xml
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:config/applicationContext.xml</param-value>
</context-param>
<servlet>
<servlet-name>spring-ws</servlet-name>
<servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:config/spring-ws-servlet.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>spring-ws</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
私の質問は、どの種類の豆を保持する必要があるか、applicationContext.xml
またどの種類の豆を保持する必要があるspring-ws-servlet.xml
かということです。なぜ両方が必要なのですか?全部残してapplicationContext.xml
削除しspring-ws-servlet.xml
ましょうか?
両方ある場合、一方を別のものにインポートする必要がありますか? 私を助けてください。
ありがとう!