• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing files in WEB-INF from a servlet/JSP  RSS feed

 
Felix Ulrich
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!