Hi guys,
I'm new to Java - converting from c#, so sorry for the simple question.
I've created a webservice, which parses an XSD file which I have on my hard drive. Trouble is, I don't know the best place to put the XSD, and how then to get a handle on the file. I'm currently specifying a fully qualified hard coded path which is clearly not the way to go as this will cause issues on deployment. Are XSD files normally placed in their own source package? Or are are they in the web/web pages folder? - as structured by Netbeans. I've tried both these options but still can't work out how to reference files in these locations?
Many thanks for any pointers,
Mark
I'm new to Java - converting from c#, so sorry for the simple question.
I've created a webservice, which parses an XSD file which I have on my hard drive. Trouble is, I don't know the best place to put the XSD, and how then to get a handle on the file. I'm currently specifying a fully qualified hard coded path which is clearly not the way to go as this will cause issues on deployment. Are XSD files normally placed in their own source package? Or are are they in the web/web pages folder? - as structured by Netbeans. I've tried both these options but still can't work out how to reference files in these locations?
Many thanks for any pointers,
Mark