• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Accessing files in WEB-INF from a servlet/JSP

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks
I'd like to put a configuration file into my WEB-INF directory, and then be able to open it as an InputStream from a servlet. I'm sure I've seen this done, but I can't remember how.
I know that I could put a path to the conf file in my web.xml, but I'd like to do it directly, if possible.
Does anyone have a clue what I'm talking about? Any help will be appreciated.
Thanks
Felix.
reply
    Bookmark Topic Watch Topic
  • New Topic