Multiple choice technology web technology

Can you have someother.xml file instead of applicationcontext.xml

  1. Yes,always.Spring framework will understand automatically when it will not find applicationcontext.xml

  2. No,never this can happen

  3. Yes,by specifying a <context-param> element named “contextConfigLocation" for the listener class "org.springframework.web.context.ContextLoaderListener"

  4. Yes,if we use it with JSF

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

You can use any custom XML configuration file name instead of applicationContext.xml by defining the contextConfigLocation parameter in web.xml for the ContextLoaderListener.