From: Erik V. <eri...@hc...> - 2007-08-02 21:28:17
|
> > Just a question: does this also allow reading from the Rails.jar? > > > > > Yes, it does. Over the last week, I've had a bit of a crash course in > how Java locates data. > > The whole idea is that Java wants you to avoid using anything specific > to the underlying machine until the last possible moment. So, > everything > that requires data from external resources (i.e. data files, images, > etc.) needs to use a class loader to search for those resources. It's > the class loader's job to figure out what resources are available, and > where they are using generic path identifiers. Well, there you're ahead of me then. I've had similar problems every now and then. Great that you have fixed that now. Erik. |