spring configuration in web.xml


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <context-param>
  2. <param-name>contextConfigLocation</param-name>
  3. <param-value>
  4. classpath*:applicationContext-*.xml
  5. </param-value>
  6. </context-param>
  7.  
  8. <listener>
  9. <listener-class>org.springframework.web.context.ContextLoaderListener
  10. </listener-class>
  11. </listener>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.