2

I come across this code in my web.xml but I don't understand what it does.

<context-param>
   <param-name>contextConfigLocation</param-name>
   <param-value>classpath:my-main-spring.xml</param-value>
</context-param>

May I know what classpath do in web.xml? Where can I find more reference or reading material on this thing?

ZnArK
  • 1,533
  • 1
  • 12
  • 23
huahsin68
  • 6,819
  • 20
  • 79
  • 113

1 Answers1

2

Sorry for asking stupid question, I already got my answer from this thread > How to import spring-config.xml of one project into spring-config.xml of another project?.

Community
  • 1
  • 1
huahsin68
  • 6,819
  • 20
  • 79
  • 113