Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!