Hi,
Actually my iBatis xml config files are under the classpath so, to include an xml file in the main configuration file (that is under WEB-INF/iBatis folder) I usually write:
(and it works)
I need to move all my files under WEB-INF/iBatis directory of my web application.
I read iBatis manual and tried with the "url" attribute, like this:
and it works!
Now I want to make the path relative to the project (and not absolute to my hard drive c: like in the above example).
I tried with ;
and
and
and
and a million of other ways, but it doesn't work
What is the correct way to use a relative path with the url attribute?
and
and
and
都是错误的
url 必须跟一个有效的绝对地址
relative url path ,u can use "~/","../"+x.xml