David said: > I've always been a little unclear about what RequestUtils' role should be. > Passing in the ServletContext is redundant because (at least in servlet 2.3) > you can get the session from the request and the ServletContext from the > session.
But what do you do if you need the ServletContext but no session exists for the request? Do you want the RequestUtils to be responsible for creating a session? I'm not sure I like that. I think it's fine to pass the ServletContext as well as the request. Nathan Bubna [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
