Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Don't see properties files after deployment from Jdeveloper 11g

 
Ong Vua
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic