Src的编译的class文件,所以test.xml也在里面 webRoot里面的文件test.xml是在里面 若是src里面有一个类,使用/test.xml,这个类用的/表明的是哪个是src仍是webRoot
src中的test.xml编译到服务器后是“项目名\WebRoot\WEB-INF\classes\test.xml”中; WebRoot中的test.xml在WebRoot\test.xml中。