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!

Web.xml with Multiple Servlets and Listeners

843841Sep 28 2006 — edited Sep 29 2006
Hi,

Is it possible to have listeners associated to a single servlet in a web.xml that contains multiple servlets? I have a war with servletA and servletB and would to have servletA associated with listener1 and servletB associated with listener2. Also, I am using the xdoclet ant task to generate the web.xml.

All help appreciated,
Shelli
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 27 2006
Added on Sep 28 2006
1 comment
387 views