Hi All,

I just started to use iBatis. And had a problem which I cannot solve
for 3 days :)

I am using netbeans, I put my sqlmapconfig.xml file (and the sqlmap
file) in the src folder, which is the root folder of the jar file
netbeans create.

This works well, but I cannot edit the xml file after jar is
published. I try to put the files in the dist folder, where jar is in,
and in the program using "../sqlmapconfig.xml" to reference it. But it
does not work.

How can I use a file that is in the parent folder of the jar file ?
Is there any way to programatically set the classpath?

Thanks,
Shannon

Reply via email to