Hi All,

I am using castor 1.3. I am using mapping file. I placed in my mapping file
like this

com.test
   -TestOne.java
   -mapping.xml

In TestOne.java, i am using like

Mapping mapping = new Mapping();
mapping.loadMapping("D:/test/TestProject/com/test/mapping.xml");

Instead of the full path, Is it possible to give like this
mapping.loadMapping("mapping.xml")?

I tried like this also
java.net.URL
mappingurl=getClass().getClassLoader().getResource("com/test/mapping.xml");
Mapping mapping = new Mapping();
mapping.loadMapping(mappingurl);

I am getting error. I dont know the problem.

please help me asap. Thanks in advance.








-- 
View this message in context: 
http://old.nabble.com/Mapping-loading-Filepath-problem-castor-1.3-tp31235772p31235772.html
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to