• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Resource loading using Class.getResource or Class.getClassLoader().getResource()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resource loading using Class.getResource or Class.getClassLoader().getResource()


  • Subject: Resource loading using Class.getResource or Class.getClassLoader().getResource()
  • From: Larry Mills-Gahl <email@hidden>
  • Date: Tue, 09 Nov 2010 14:46:41 -0500

I am having difficulty finding out why getResource and
getClassLoader().getResource will not work as expected in my WO app. I
want to load some XSLT from a jar on the classpath so  that I can keep
the versions of the transform the same between command line tools and
the web application. I don't want to have a duplicate where
application().resourceManager() can get it and I don't want to have to
teach the command line utilities about the location of WO resouces
(since they already can find it on the classpath)

If someone can nudge me in the right direction or point me toward some
documentation (or perhaps the proper incantation to please the resource
gods) I would appreciate it very much.

Thank you.

Larry Mills-Gahl
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Resource loading using Class.getResource or Class.getClassLoader().getResource()
      • From: John Huss <email@hidden>
  • Prev by Date: Re: IE vs context().componentActionURL ?
  • Next by Date: Re: IE vs context().componentActionURL ?
  • Previous by thread: Re: IE vs context().componentActionURL ?
  • Next by thread: Re: Resource loading using Class.getResource or Class.getClassLoader().getResource()
  • Index(es):
    • Date
    • Thread