logo       

Re[2]: Question about context attributes: msg#00186

java.jetty.support

Subject: Re[2]: Question about context attributes

I think - "Whether the place suggested in "Pobeda" is good enough for
us to meet New Year?".

Sorry guys, wish to all of you luck and love (frequently these are the same).

--
Best regards,
Oleg mailto:oz@xxxxxxxxxxxxxx

========= quote ==========


GW> Stephen Stevens wrote:
>> Should context attributes (i.e. set with ServletContext.setAttribute()) be
>> cleared between context restarts?

GW> This is a very good question!

GW> The problem is that context attributes are frequently used as configuration
GW> passed from the environment into the context. Thus you don't want
GW> to blow away configuration over a stop/start cycle. So we currently don't
GW> clear the attributes.

GW> But thinking about it - I think we should. The configuration stuff
GW> will have to be set on every start - and there are plenty of mechanisms
GW> available to help with that.

GW> What do others think?????????


>> My problem is that they do not appear to be, and I am getting
>> ClassCastExceptions when I retrieve them after a restart.
>>
>> Obviously I can clear my attributes manually to resolve the exception, but
>> what should the behaviour be?
>>
>> Thanks.






======== unquote =========



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/CefplB/TM
---------------------------------------------------------------------~->

For the latest information about Jetty, please see http://jetty.mortbay.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise