This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
The init parameters are set in the xml file, and as such, are read-only, but you can set normal read-write parameters at runtime. In fact, I usually do. It's a great scope, although a context can get out of sync across JVMs.
To put something in as soon as an application starts, you can use the appropriate context listener. That makes sure stuff is initialized before the first client request comes in.
but you can set normal read-write parameters at runtime.
But I misread it, I thought it was on about the context parameters too.
So what are 'normal read-write parameters'? I know you have request parameters resulting from forms, and you have request,context, and session attributes, but what are these other parameters? [ February 04, 2007: Message edited by: colin shuker ]
There's no such thing. But I think that the imprecise wording was meant to mean appplication-level scoped variables, as my own reply pointed out. [ February 04, 2007: Message edited by: Bear Bibeault ]
By the way, scoped variables is the correct term for what I believe you are referring to as "request,context, and session attributes"; even though you left off application scope. [ February 04, 2007: Message edited by: Bear Bibeault ]
Joined: Apr 11, 2005
I thought context scope and application scope were the same thing??