Embbedded web apps?

Not sure if this is the correct forum to ask this. Suppose I have a web app called ABC deploy to localhost/ABC.

Now I have another web app called XYZ but want to deploy inside existing web app ABC such that it can be accessed as localhost/ABC/XYZ instead of localhost/XYZ.

Would this XYZ web app an "embedded web app"? How does the project structure look like? Cos when I create web apps in Eclipse or Netbeans, there is any options to embed or include this web project to another web project. Yet I can do so if the parent project (eg ABC in this case) is an enterprise project.