I have 2 java files with same name and package structure. One file is from framework team and second file is from customization team. There are 2 jar files framework.jar and customization.jar. In my web application i want to search class file first in the customization.jar and if not found then search in the framework.jar. i.e customization.jar take the precedence.
How to achieve this ? How to enforce that customization.jar take the precedence.
I have put the 2 jars in web-inf\lib folder. but here there is no way to confirm that customization.jar take precedence.
Thanks.