This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help please: access .xsd inside a jar
 
Similar Threads
entityResolver
Help please: access .xsd inside a jar
Giving file path in jar
How to generate wsdl:fault from XSD
Read File from jar file