File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Embbedded web apps? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Embbedded web apps?" Watch "Embbedded web apps?" New topic

Embbedded web apps?

K. Tsang

Joined: Sep 13, 2007
Posts: 3131

Hello all

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.

Thanks in advance.

K. Tsang JavaRanch SCJP5 SCJD OCPJP7 OCPWCD5 OCPBCD5 OCPWSD5 OCMJEA5 part 1 part 2/3
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
The servlet specification does not support this. You need to integrate the XYZ web app into the ABC web app.
K. Tsang

Joined: Sep 13, 2007
Posts: 3131

Thanks Ulf for the quick response.
I agree. Here's the link:
subject: Embbedded web apps?
jQuery in Action, 3rd edition