Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Adding multiple servlets under same application

843840Sep 24 2002 — edited Sep 28 2002
Hi,

We are trying to add multiple servlets (2 to be precise) to an Application.
We are using j2ee1.3 server and deploytool for deploying the same.
Is it possible to have a single context root in which i'll be able to place both servlets with different aliases to access them?

The moment I specify same contextRoot in Web context tab of Application, i get an error saying Deployment failed because "mycontextroot" already exists.
When I assign two different context roots to each servlet, they can function, but then the URL for each changes inspite of being in the same application.

Any suggestions are welcomed.

Thank you,
Manish.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2002
Added on Sep 24 2002
3 comments
459 views