Bogdan wrote:
[Subject]
.awake() gets all of the participators of a servlet to "wake up". Since
it's likely that they are already running (already having been
initialized) awake() is a place to get them ready to "do-their-thing" again.
But, you don't necessarily have to worry about that.
Awake is a good place to put code that you need to run on each servlet
before output begins; perhaps database queries or security checks, etc.
If you put an awake() in your servlet, just make sure to call the
awake() method of your superclass at some point, or your pages will
break. When doing that, it's a good idea to call the super FIRST, so all
the low-level stuff can get set up, and then do your own awake code.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
- [Webware-discuss] What AWAKE() do ? Bogdan
- Re: [Webware-discuss] What AWAKE() do ? Matt Feifarek
- Re: [Webware-discuss] What AWAKE() do ? Luke Opperman
