On 24/08/2010 14:35, Caldarale, Charles R wrote:
>> From: pu...@web.de [mailto:pu...@web.de]
>> Subject: RE: Own Logging Handler not closing correctly
>>
>> Anybody should be able to use the handler without doing extra 
>> things in their webapps...
> 
> I'm not sure that's a reasonable assumption, since you have the log handler 
> established within a single webapp environment.  Some interaction with the 
> webapp is required.  Note that code changes to an existing webapp would not 
> be required; you can supply an additional, log-handler specific 
> ServletContextListener class to be configured in WEB-INF/web.xml that won't 
> disturb or interact with any existing listeners the webapp might have.

In Servlet 3.0 you could annotate the class / use a web-fragment, so you
wouldn't have to add anything to the main web.xml.


p

>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
> MATERIAL and is thus for use only by the intended recipient. If you received 
> this in error, please contact the sender and delete the e-mail and its 
> attachments from all computers.
> 

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to