This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Product and Other Certifications and the fly likes Help please: access .xsd inside a jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Help please: access .xsd inside a jar" Watch "Help please: access .xsd inside a jar" New topic
Author

Help please: access .xsd inside a jar

Denis Wang
Ranch Hand

Joined: Jan 23, 2004
Posts: 81
Hello, all,
I use the following code to access my schema
URL schemaURL = getClass().getClassLoader().getResource(schemaString);

This code works fine in my IDE. But when i deploy the project and jar up the xsd file, this line returns null.

Any ideas?
thanks a lot!
 
 
subject: Help please: access .xsd inside a jar
 
Similar Threads
Read File from jar file
Help please: access .xsd inside a jar
How to generate wsdl:fault from XSD
Giving file path in jar
entityResolver