| Author |
Is it possible to deploy two wars in the same context?
|
Aaron John
Ranch Hand
Joined: May 30, 2005
Posts: 74
|
|
In Tomcat, I have a webapp packaged up as a war file. I have an extension to the webapp (just a new login page and servlet) which I would like to distribute as a separate war file. The problem is that when Tomcat starts up, the war file is deployed as a different context to the original webapp. I would like the content to be accessible using the context of the original webapp, so my login page is accessible through URLs that match the original webapp context. My other problem is that my webapp extension cannot be packaged in the war file of the original webapp, since it's strictly not part of the webapp. Does anyone have any suggestions as to how I can make the extension a part of the original webapp? Is it possible to deploy two wars in the same context?
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
|
No, war files and contexts have a one-to-one relationship.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Is it possible to deploy two wars in the same context?
|
|
|