logo       

Question about context attributes: msg#00181

java.jetty.support

Subject: Question about context attributes

Hi.

Should context attributes (i.e. set with ServletContext.setAttribute()) be
cleared between context restarts?

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.

Stephen

http://movies.yahoo.com.au - Yahoo! Movies
- What's on at your local cinema?

------------------------ 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