2012-06-27 22 views
2

我在web.xml中遇到了这个代码,但我不明白它的作用。什么类路径在web.xml中做什么?

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

我可以知道web.xml中的classpath吗?我在哪里可以找到更多有关这件事的参考资料或阅读材料?

回答