Don't see properties files after deployment from Jdeveloper 11g
Ong Vua
Ranch Hand
Joined: Jan 24, 2008
Posts: 57
posted
0
I created a web project with several properties files and deployed it as a WAR file onto Weblogic 11g. When I opened up the WAR file, I can see the properties files in the WEB-INF\classes folder.
After I deployed it using Jdeveloper 11g, I searched for these properties files on the Weblogic server but I couldn't find any. Do you know where Weblogic puts the properties files after it deployed a WAR file? Or it does not explode the WAR file but uses it as it is.
Why would you need to know this ? Why not put the properties file inside a common folder across all environments ? If the properties file is in the classpath it can be loaded into your code with mmm.. now what is that method name... getResourceAsStream() if I am not mistaken