Hello i am new using ibatis.I am working, making, one j2ee applicaction.the packeages are:com.domain.resourcescom.domain.ibatis.sqlmapdao
in the sqlmapdao package i have one class, DaoConfig.java with this.
public static DaoManager getDaoManager(){DaoManager daoManager=null;try{Reader reader =
This line is wrong:
Resources.getResourceAsReader(../../resources/daoConfig.xml);
Resources are absolute names based on the classpath. So, if you put
your daoConfig.xml file in a resources package, you would use this
instead:
Resources.getResourceAsReader(/resources/daoConfig.xml);
Larry
On
But i have one great problem.
i am using WSAD for develop the application.
i must to build one ear file for deploy it into the WAS.
i dont know the absolute path into the server for oput it into my xml files.
do you know any solution?
2005/9/27, Larry Meadors [EMAIL PROTECTED]:
This line is
s,
Priyesh
From: Carlos de la Flor Egiluz
[mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 7:48
PMTo: [EMAIL PROTECTED]Cc:
user-java@ibatis.apache.orgSubject: Re: the systems cannot load the
resource files
But i have one great problem.
i am using WSAD for develop the application.
i mus
]] Sent:
Tuesday, September 27, 2005 7:48 PMTo: [EMAIL PROTECTED]Cc:
user-java@ibatis.apache.orgSubject: Re: the systems cannot load the resource files
But i have one great problem.
i am using WSAD for develop the application.
i must to build one ear file for deploy it into the WAS.
i dont know