Sorry, one more comment for ServletWebContext, below...
----- Original Message ----- From: "Don Brown" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
Sent: Sunday, November 21, 2004 11:11 PM
Subject: Re: [VOTE] Release Chain 1.0



As for ServletWebContext, I see your point, but I'd argue that
business classes would never see the actual ServletWebContext, but
rather get passed an application-specific context, which may or may
not contain ServletWebContext.  For Struts, I'm thinking we'd use an
ActionContext, which would look for objects in the scope hierarchy on
a get() as you suggest, if it detected a WebContext.  Otherwise, the
value would come right out of the ActionContext.  I could see the
value in bringing that scope logic to WebContext, however.

OK, assuming we like ServletWebContext as it currently stands, wouldn't it make more sense for getRequestScope(), getSessionScope(), etc. to return Context instead of Map?


Don

Matt




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to