jQuery in Action, 3rd edition
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

JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "LDAP - classes folder - property file" Watch "LDAP - classes folder - property file" New topic

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,

I agree. Here's the link: http://aspose.com/file-tools
subject: LDAP - classes folder - property file
It's not a secret anymore!