I would like to use to read properties file from out side of the my web application. I was deployed a war file in tomcat in windows environment and I am able to read properties
If your code runs inside a servlet, it may be simpler to use getServletContext().getRealPath("/strs.properties") to retrieve the absolute file path.
getServletContext().getRealPath("/strs.properties")