servlets - Where do I place my property file in java web project? -


i working on web project. want know should put property file. use filters. attached screenshot of project too. thanks!

my project

it depends entirely on how load (or intend load) properties file in first place. if load using classloader, place in sources, java files. if load webapp resource, using servletcontext, place under webcontent/web-inf. if want avdownloadable browser, put anywhere under webcontent, except in web-inf. – jb nizet https://stackoverflow.com/users/571407/jb-nizet


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -