File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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. 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:
subject: LDAP - classes folder - property file
jQuery in Action, 3rd edition