cancel
Showing results for 
Search instead for 
Did you mean: 

Add xml file to classpath

Former Member
0 Kudos
437

Hi all,

Can someone tell me how I can add a xml file to my class path.

I have add some thirth party jar files to my application but I need also the license xml in my classpath.

Kind regards,

Richard

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try adding it to WEB-INF/classes

Good luck!

Roelof

Answers (1)

Answers (1)

former_member184385
Active Participant
0 Kudos

Hi Richard,

to access the mention xml file from an EJB module the procedure would be:

- package the XML file in a JAR, say myxml.jar

- add myxml.jar to an existing or newly created library

- let your app reference this library

Regards

Gregor