dcsimg
Why does the ServletContext reset??
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   brett_haas
Posted On:   Friday, November 9, 2001 04:12 PM

How come everytime re-compile a servlet it resets any application variables?

Re: Why does the ServletContext reset??

Posted By:   Alex_Chaffee  
Posted On:   Friday, November 9, 2001 06:42 PM

Because it makes a whole new ClassLoader, that's why.


Servlet reloading should not be used on a live server. It's best to think of it as just a convenience during development, due to this and other problems.

About | Sitemap | Contact