commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sgarlata" <>
Subject Re: [VOTE] Release Chain 1.0
Date Mon, 22 Nov 2004 20:58:18 GMT
Sorry, one more comment for ServletWebContext, below...
----- Original Message ----- 
From: "Don Brown" <>
To: "Jakarta Commons Developers List" <>
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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message