I think you may need to put your package structure (class files) and
SqlMap-related files under /WEB-INF/classes

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html

Hope this helps.

Roberto


-----Original Message-----
From: Dody Rachmat Wicaksono [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 04, 2005 12:02 AM
To: ibatis-user-java
Subject: how to package /sql file


I finally make ibatis work.
Thanks for your support, mr. clinton ;)

i found /sql files is not packaged in war file, would you please
help me how to add these files in build.xml?

my directory structure

/web-inf
/web-inf/com
/web-inf/com/strutsgen
/web-inf/com/strutsgen/garuda             -> contain .class files
/web-inf/com/strutsgen/garuda/conf     -> contain sql-map-config.xml and
property
/web-inf/com/strutsgen/garuda/sql       -> contain sql map file

thanks.







Reply via email to