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嗎?我在哪裏可以找到更多有關這件事的參考資料或閱讀材料?