This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic