I am running a Java web application using Tomcat and I want to read the file Propertieslocated in my directory WEB-INF. How can I get InputStreamin this file Propertiesso that I can read it?
Properties
WEB-INF
InputStream
ServletContext.getResource/ getResourceAsStream, IIRC.
ServletContext.getResource
getResourceAsStream
Source: https://habr.com/ru/post/1706136/More articles:Copy query result to another mysql table - sqlAccess blocking for a given geographic location - language-agnosticWhat to learn after PHP, HTML, CSS, MySQL, Javascript? - programming-languages | fooobar.comHow to specify default font and size for a control in Visual Studio? - visual-studio-2008Using ClearQuest for Inventory Management Application - clearquestUpdatePanel - Any ideas on how to avoid flickering in the user interface? - ASP.NET/Jquery - javascriptCSS issues with Safari? - htmlLINQ to SQL: Advanced Queries for Lists, Arrays, and Object Lists - c #In the Java interface, how can I * * not use one specific method inherited from the parent interface? - javaLINQ to SQL query against list of objects - c #All Articles