I have two projects in eclipse ,one is Web application and other is standalone.web application has deoendency with standalone ie I want to read some XML file which are placed in standalone application.I configured the as follows
In web application 's-build path i have added the standalone application and in dependency I also selected the standalone project.
When i deploy the application on
Tomcat ,under the web application I can see standalone application.
When I run the code the XML file are not read from the standalone. so I extracted JAR from standalone and placed in the LIB of the web application ,now I read the XML files .
Can you please explain why it is not working if I added the standalone directly to web application in Eclipse