Wie man zwei param-Werte in einem context-param im Frühjahr?

Problem: ich habe zwei contextConfigLocation Parameter, mit @Configuration Kurse für spring-social-facebook und ein mit xml-Datei für die app:

<context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>com.communicator.core.social.facebook.config</param-value>
</context-param>

<context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>/WEB-INF/root-context.xml</param-value>
</context-param>

Beide eine param-name, und ich weiß nicht, wie es zu lösen ist.

  • Ist dies Teil einer web.xml?
  • Ich dachte, es war eine CSV-Datei. Sie können auch Ihre eigenen Kontext-config-loader.
  • Warum haben Sie zwei contextConfigLocation ... ist es eigentlich ein Liste?
InformationsquelleAutor uncle Lem | 2013-05-31
Schreibe einen Kommentar