Java: Accessing properties file inside a war

后端 未结 6 1459
花落未央
花落未央 2020-12-06 06:29

I already searched StackOverflow for \"properties inside war\", but none of the results worked for my case.

I am using Eclipse Galileo and GlassFish v3 to develop a

6条回答
  •  攒了一身酷
    2020-12-06 07:16

    Are you sure the file is being included in your war file? A lot of times, the war build process will filter out non .class files.

提交回复
热议问题