• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access webapp files as resource files

 
chris heidt
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application with an embedded jetty server that
occasionally serves up files that i pull from my resource directory.
For organization purposes id like to pull these files out and put them into the webapp directory.

Is there a way to access files in the webapp directory
similar to how i was using the classloader to retrieve resource files?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic