Hi,
I want to read data from a file and store data to it. If my app is effectively an axis web service, how can I access my file? With new File(
String relativePath) ? Can I read a file in a jar? Write to a file in a jar?
What if I want to read/write to a file on the classpath rather than on the filesystem? Does this actually make any sense at all?
And in a class Apple in package com.foo.bar (hence com.foo.bar.Apple), what does the relative path relate to? The root of wherever folder com is? What if all of com has been jar-ed?
Thanks everyone!