I have multiple projects which are to be hosted together in a Tomcat container, as they communicate and share resources. Each project is developed separately and has it own web.xml
Is there a way i can import individual project Web Application Deployment Descriptor (project-web.xml), into one web.xml and deploy.
If you are using Tomcat 7.0.x, you could try to create a common JAR file with all the shared classes and add a
META-INF/web-fragment.xmlto the archive. This is file is similar to theweb.xmlfile and you could use it to add common filter, servlet, etc…