Spring が構成ファイル名を処理する場合、いくつかのデフォルトがあります...
- DispatcherServlet を web.xml に登録すると、Spring はデフォルトで
<servletname>
-servlet.xmlという名前のファイルを検索します。 - ContextLoadListener を web.xml に登録すると、Spring はデフォルトでファイル名 applicationContext.xml を検索します。
したがって、私は尋ねます:Spring Security を使用している場合、Spring はデフォルトのファイル名を検索しますか? または、常に手動で構成する必要があり<context-param> <param-name> contextConfigLocation </param-name>filename</param-value></context-param>
ますか...???