• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

File locations

Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, I guess this is a stupid question but it always is if you know the answer, and I'm a bit confused.

I'm using castor to parse xml (haha, didn' want to create my own parser). It's my first time (seriously workin') with Websphere (always used eclipse, that helps) and I want to read that damned mapping xml configuration file.

the constructor uses a FileInputStream that reads a file instance:

I've placed the xml in the WEB-INF, the classes and the app's root folder,
that's WebContent.

I want to have it deployed inside the ear or the war file. Any idea someone on how to include it.

Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic