On Thu, 8 Mar 2007, Gordon Ross wrote:
Now this wasn't totally surprised as I wasn't sure about the basic CWD of a tomcat app. In this case (when running under Eclipse) it appears to be my home directory. So I put the sqlmap.xml file there, and IBATIS still complains that it can't find the file.
I can't speak for how Eclipse influences the set up but I would expect your SqlMap.xml to reside in WEB-INF/classes in your document root. e.g. /home/user/public_html/WEB-INF/classes
So what's going on here ? How can I point IBATIS to the XML config files under Tomcat (& Eclipse)
You might want to try getResourceAsStream too. -- Graeme -