This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes LDAP - classes folder - property file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "LDAP - classes folder - property file" Watch "LDAP - classes folder - property file" New topic
Author

LDAP - classes folder - property file

Rohit Rai
Ranch Hand

Joined: Aug 04, 2008
Posts: 53
Hi !
I have gone through some material regarding authentication using LDAP. During this process I came to know and found out that the LDAP properties file e.g. Ldap_abc.properties file should be in WEB-INF/classes folder if i am using tomcat.

I also know that it does not work if we put this file in some other directory and it throws a MissingResource exception. Can anyone tell me exactly why we need to put the properties file in the classes folder?

Is it like the properties file is read from the classpath or something like that.

Thanks a lot,

Rohit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LDAP - classes folder - property file